Skip to content
Snippets Groups Projects
Commit 234c71a8 authored by rswindell's avatar rswindell
Browse files

Per Ragnarok (DOCKSUD):

i think that js.on_exit("uifc.bail();"); must be added to hatchtit.js
because premature exits break the terminal.

Saludos!
parent 4992a1ac
No related branches found
No related tags found
No related merge requests found
......@@ -296,6 +296,7 @@ function main() {
var origin;
uifc.init('HatchIT');
js.on_exit('uifc.bail()');
file = pick_file();
if (file === undefined || file.path === undefined)
return;
......@@ -315,7 +316,6 @@ function main() {
if (uifc.list(WIN_MID, "Proceed?", ["No", "Yes"]) == 1) {
hatch_file(file, area, origin);
}
uifc.bail();
}
main();
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