Browse Source

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

Enrico Berti 10 years ago
parent
commit
448a9f80e9
1 changed files with 1 additions and 1 deletions
  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) {
         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.link.editor = this.editor;
             this._signal("open", this.link);
             this._signal("open", this.link);
             this.clear()
             this.clear()