Эх сурвалжийг харах

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

Removed double event handler
Enrico Berti 11 жил өмнө
parent
commit
f9800d5

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