فهرست منبع

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;