summaryrefslogtreecommitdiff
path: root/js/util.js
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-03-25 22:53:21 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-03-25 22:53:21 +0000
commit90e5f01f8af656a3475dc99592a4b13dc1851350 (patch)
treefc89cec7be548e2ade50b1921592b6d2f372f98e /js/util.js
parenta7d8f7197e87fd7cbed8b58e07b3904929adf0c5 (diff)
Processing indicator (aka spinner thingy) for form_notice submits
Diffstat (limited to 'js/util.js')
-rw-r--r--js/util.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/util.js b/js/util.js
index 3ad038612..81139744f 100644
--- a/js/util.js
+++ b/js/util.js
@@ -161,6 +161,7 @@ $(document).ready(function(){
$("#form_notice").addClass("warning");
return false;
}
+ $("#form_notice").addClass("processing");
$("#notice_action-submit").attr("disabled", "disabled");
$("#notice_action-submit").addClass("disabled");
return true;
@@ -179,6 +180,7 @@ $(document).ready(function(){
NoticeHover();
NoticeReply();
}
+ $("#form_notice").removeClass("processing");
$("#notice_action-submit").removeAttr("disabled");
$("#notice_action-submit").removeClass("disabled");
}