summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-03-22 12:54:51 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-03-22 12:54:51 -0500
commit10ffbb85592612a17b05ade7772efecf41c2fc1e (patch)
tree6031b93666bf78045999a56ad07f363f1c869176
parent3ade8de55a3d83b8c4b5d3111251f29c3c465237 (diff)
downloadgitlab-ce-10ffbb85592612a17b05ade7772efecf41c2fc1e.tar.gz
Add comment explaining why we enable form submit button
-rw-r--r--app/assets/javascripts/profile.js.coffee1
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()
$ ->