summaryrefslogtreecommitdiff
path: root/app/views/projects/update.js.haml
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-26 18:33:04 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-02 20:32:07 -0400
commit456095440425f91028f218748f366bf16e5c7d4b (patch)
treed335b8799af5456c10d4d3adaaa82bfec8eaff61 /app/views/projects/update.js.haml
parent2313d42b37977afc884a2a2fc7e91180e0acbaf3 (diff)
downloadgitlab-ce-456095440425f91028f218748f366bf16e5c7d4b.tar.gz
Move jQuery enable/disable extensions to extensions/jquery
Removes redundant enableButton/disableButton extensions, and adds specs for the jQuery extensions.
Diffstat (limited to 'app/views/projects/update.js.haml')
-rw-r--r--app/views/projects/update.js.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/update.js.haml b/app/views/projects/update.js.haml
index 4f3f4cab8d5..7d9bd08385a 100644
--- a/app/views/projects/update.js.haml
+++ b/app/views/projects/update.js.haml
@@ -6,4 +6,4 @@
$(".project-edit-errors").html("#{escape_javascript(render('errors'))}");
$('.save-project-loader').hide();
$('.project-edit-container').show();
- $('.project-edit-content .btn-save').enableButton();
+ $('.project-edit-content .btn-save').enable();