Processing indicator (aka spinner thingy) for form_notice submits
This commit is contained in:
parent
a7d8f7197e
commit
90e5f01f8a
|
@ -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");
|
||||
}
|
||||
|
|
BIN
theme/base/images/icons/icon_processing.gif
Normal file
BIN
theme/base/images/icons/icon_processing.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 673 B |
|
@ -94,7 +94,11 @@ color:#333;
|
|||
#form_notice.warning #notice_text-count {
|
||||
color:#000;
|
||||
}
|
||||
|
||||
#form_notice.processing #notice_action-submit {
|
||||
background:#fff url(../../base/images/icons/icon_processing.gif) no-repeat 47% 47%;
|
||||
cursor:wait;
|
||||
text-indent:-9999px;
|
||||
}
|
||||
|
||||
#nav_register a {
|
||||
text-decoration:none;
|
||||
|
|
Loading…
Reference in New Issue
Block a user