瀏覽代碼

[core] Fix CTRL + Click on AceEditor for HDFS links

Enrico Berti 10 年之前
父節點
當前提交
448a9f80e9
共有 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

@@ -1909,7 +1909,7 @@ ko.bindingHandlers.aceEditor = {
         };
 
         this.onClick = function (e) {
-          if (this.link && (e.altKey || e.metaKey)) {
+          if (this.link && (e.altKey || e.metaKey || e.ctrlKey)) {
             this.link.editor = this.editor;
             this._signal("open", this.link);
             this.clear()