Commit 8dad6e5a authored by Jonathon Duerig's avatar Jonathon Duerig

Quick fix to unload nag logic in genilib-editor

parent 7d9f91ca
......@@ -40,6 +40,7 @@ function (_, sup, aptforms,
var source = document.getElementById('source').innerHTML;
editor.setValue(atob(source));
editor.selection.clearSelection();
window.onbeforeunload = null;
$('#waitwait-modal').modal({ backdrop: 'static', keyboard: false, show: false });
$('#saveButton').on('click', save);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment