Add splitter.js and make et2_dialog available globally

This commit is contained in:
Hadi Nategh 2021-06-10 14:21:41 +02:00
parent f4d2ddde7d
commit 31c7b87faa
3 changed files with 5 additions and 0 deletions

View File

@ -840,5 +840,7 @@ et2_dialog.CANCEL_BUTTON = 0;
et2_dialog.OK_BUTTON = 1;
et2_dialog.YES_BUTTON = 2;
et2_dialog.NO_BUTTON = 3;
// make et2_dialog publicly available as we need to call it from templates
window['et2_dialog'] = et2_dialog;
et2_register_widget(et2_dialog, ["dialog"]);
//# sourceMappingURL=et2_widget_dialog.js.map

View File

@ -903,4 +903,6 @@ export class et2_dialog extends et2_widget {
return dialog;
}
}
// make et2_dialog publicly available as we need to call it from templates
window['et2_dialog'] = et2_dialog;
et2_register_widget(et2_dialog, ["dialog"]);

View File

@ -17,5 +17,6 @@
/api/js/jquery/jquery-ui-timepicker-addon.js;
/vendor/bower-asset/jquery-touchswipe/jquery.touchSwipe.js;
/vendor/egroupware/magicsuggest/magicsuggest.js;
/api/js/jquery/jquery.splitter.js;
*/
jQuery.noConflict();