Skip to content
Snippets Groups Projects
Commit 5354db6f authored by paflov's avatar paflov
Browse files

Unlock code-locked blocks when being forced there by monitor.

parent bf41502a
No related branches found
No related tags found
No related merge requests found
......@@ -280,6 +280,15 @@ export class TestControllerComponent implements OnInit, OnDestroy {
if (gotoTarget && gotoTarget !== '0') {
this.tcs.resumeTargetUnitSequenceId = 0;
this.tcs.interruptMaxTimer();
const targetUnit = this.tcs.rootTestlet.getUnitAt(parseInt(gotoTarget, 10));
if (targetUnit) {
targetUnit.codeRequiringTestlets
.forEach(testlet => {
this.tcs.addClearedCodeTestlet(testlet.id);
});
}
this.tcs.setUnitNavigationRequest(gotoTarget, true);
}
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment