Commit 10ffbb85 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Add comment explaining why we enable form submit button

parent 3ade8de5
...@@ -59,6 +59,7 @@ class @Profile ...@@ -59,6 +59,7 @@ class @Profile
new Flash(jqXHR.responseJSON.message, 'alert') new Flash(jqXHR.responseJSON.message, 'alert')
complete: -> complete: ->
window.scrollTo 0, 0 window.scrollTo 0, 0
# Enable submit button after requests ends
self.form.find(':input[disabled]').enable() self.form.find(':input[disabled]').enable()
$ -> $ ->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment