瀏覽代碼

HUE-2087 [beeswax] Job is submitted twice when the Enter key is used for the Execute button

Removed double event handler
Enrico Berti 11 年之前
父節點
當前提交
f9800d5
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      apps/beeswax/src/beeswax/templates/execute.mako

+ 0 - 6
apps/beeswax/src/beeswax/templates/execute.mako

@@ -1298,12 +1298,6 @@ $(document).ready(function () {
     title: '${_("Press \"tab\", then \"enter\".")}'
   });
 
-  $("#executeQuery").keyup(function (event) {
-    if (event.keyCode == 13) {
-      tryExecuteQuery();
-    }
-  });
-
   initQueryField();
 
   var resizeTimeout = -1;