diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-06 15:04:57 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-06 15:04:57 +0300 |
commit | 2a18425e97023b05aa52c29dbce6c5a7aa7400b7 (patch) | |
tree | 42360416a8337267dd75493fbde5021a333e6431 /app/assets/javascripts/main.js | |
parent | 75ac269987a30dc3eedb9ce47c83299abf9b7cd9 (diff) |
phil review changes
Diffstat (limited to 'app/assets/javascripts/main.js')
-rw-r--r-- | app/assets/javascripts/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/main.js b/app/assets/javascripts/main.js index 177cf66b37d..3f92d4ee6cf 100644 --- a/app/assets/javascripts/main.js +++ b/app/assets/javascripts/main.js @@ -279,7 +279,7 @@ $(function () { // Disable form buttons while a form is submitting $body.on('ajax:complete, ajax:beforeSend, submit', 'form', function (e) { var buttons; - buttons = $('[type="submit"]', this); + buttons = $('[type="submit"], .js-disable-on-submit', this); switch (e.type) { case 'ajax:beforeSend': case 'submit': |