migrated all remaining dialogs to bootstrap modals, #203

This commit is contained in:
azivner
2018-11-06 17:47:40 +01:00
parent 6fb99ae89e
commit 2f4ef0a4a2
29 changed files with 480 additions and 397 deletions

View File

@@ -11,17 +11,12 @@ const $resultBody = $('#sql-console-results tbody');
let codeEditor;
$dialog.on("shown.bs.modal", e => initEditor());
function showDialog() {
glob.activeDialog = $dialog;
$dialog.dialog({
modal: true,
width: $(window).width(),
height: $(window).height(),
open: function() {
initEditor();
}
});
$dialog.modal();
}
async function initEditor() {