浏览代码

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

Enrico Berti 9 年之前
父节点
当前提交
8c2f72a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

+ 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;