Explorar o código

HUE-4876 [assist] Drag & Drop a table to the editor broken with FF

Enrico Berti %!s(int64=9) %!d(string=hai) anos
pai
achega
8c2f72a5ff

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

@@ -3214,7 +3214,7 @@
           editor.moveCursorToPosition(position);
           var before = editor.getTextBeforeCursor();
           if (draggableMeta.table && ! draggableMeta.column && /.*;|^\s*$/.test(before)) {
-            menu.show(event);
+            menu.show(e);
           } else {
             if (/\S+$/.test(before) && before.charAt(before.length - 1) !== '.') {
               text = " " + text;