commit f98e18b1d6b63c1120b7bd86834953df42c2b319 parent cb011c97fe1bf3610c5087048deaf6f0693587ba Author: Jan Dankert <develop@jandankert.de> Date: Wed, 14 Apr 2021 00:26:41 +0200 Fix: 'unbind()' is unsupported in OQuery (and deprecated in JQuery). Diffstat:
M | modules/cms/ui/themes/default/script/openrat/dialog.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/cms/ui/themes/default/script/openrat/dialog.js b/modules/cms/ui/themes/default/script/openrat/dialog.js @@ -148,6 +148,6 @@ export default class Dialog { // Remove dirty-flag from view $('.or-dialog-content .or-view.or-view--is-dirty').removeClass('view--is-dirty'); this.hide(); - $(document).unbind('keyup',this.escapeKeyClosingHandler); // Cleanup ESC-Key-Listener + //$(document).unbind('keyup',this.escapeKeyClosingHandler); // Cleanup ESC-Key-Listener } } \ No newline at end of file