From 903f6b794fb51ca4a6358cc09a667981fa95c2fb Mon Sep 17 00:00:00 2001 From: Adam LeVasseur Date: Fri, 13 Sep 2013 12:56:03 -0400 Subject: [PATCH] [double-submit issue] using CSS class to disable buttons since the form relies on the button field value for logic --- suit/static/suit/js/suit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suit/static/suit/js/suit.js b/suit/static/suit/js/suit.js index ccbc4342..d19cda0d 100644 --- a/suit/static/suit/js/suit.js +++ b/suit/static/suit/js/suit.js @@ -174,7 +174,7 @@ } submitting = true; - $saveButtons.attr('disabled', true); + $saveButtons.addClass('disabled'); }); };