Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

Commit

Permalink
[bug 902032] Disable form button
Browse files Browse the repository at this point in the history
This disables the form submit button when you submit your feedback
  • Loading branch information
willkg committed Nov 12, 2013
1 parent 2abca90 commit 649eeb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fjord/feedback/static/js/feedback.js
Expand Up @@ -125,6 +125,7 @@

$('.submit a').click(function(e) {
if ($(this).hasClass('disabled') === false) {
$(this).addClass('disabled');
$(this).closest('form').submit();
}

Expand Down

0 comments on commit 649eeb9

Please sign in to comment.