diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-22 12:54:51 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-22 12:54:51 -0500 |
commit | 10ffbb85592612a17b05ade7772efecf41c2fc1e (patch) | |
tree | 6031b93666bf78045999a56ad07f363f1c869176 | |
parent | 3ade8de55a3d83b8c4b5d3111251f29c3c465237 (diff) | |
download | gitlab-ce-10ffbb85592612a17b05ade7772efecf41c2fc1e.tar.gz |
Add comment explaining why we enable form submit button
-rw-r--r-- | app/assets/javascripts/profile.js.coffee | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/profile.js.coffee b/app/assets/javascripts/profile.js.coffee index 2fcc6dfd56e..ae87c6c4e40 100644 --- a/app/assets/javascripts/profile.js.coffee +++ b/app/assets/javascripts/profile.js.coffee @@ -59,6 +59,7 @@ class @Profile new Flash(jqXHR.responseJSON.message, 'alert') complete: -> window.scrollTo 0, 0 + # Enable submit button after requests ends self.form.find(':input[disabled]').enable() $ -> |