소스 검색

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;