summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/util.js3
-rw-r--r--theme/default/css/display.css3
-rw-r--r--theme/identica/css/display.css3
3 files changed, 7 insertions, 2 deletions
diff --git a/js/util.js b/js/util.js
index baf5aa343..81018a4b8 100644
--- a/js/util.js
+++ b/js/util.js
@@ -366,6 +366,7 @@ var SN = { // StatusNet
NDM = $('.entity_send-a-message a');
NDM.attr({'href':NDM.attr('href')+'&ajax=1'});
NDM.bind('click', function() {
+ $(this).addClass('processing');
var NDMF = $('.entity_send-a-message form');
if (NDMF.length === 0) {
$.get(NDM.attr('href'), null, function(data) {
@@ -384,6 +385,8 @@ var SN = { // StatusNet
NDMF.show();
$('.entity_send-a-message textarea').focus();
}
+
+ $(this).removeClass('processing');
return false;
});
}
diff --git a/theme/default/css/display.css b/theme/default/css/display.css
index 4b1c26967..094385151 100644
--- a/theme/default/css/display.css
+++ b/theme/default/css/display.css
@@ -157,7 +157,8 @@ background-repeat:no-repeat;
background-color:transparent;
}
-#wrap form.processing input.submit {
+#wrap form.processing input.submit,
+.entity_actions a.processing {
background:#FFFFFF url(../../base/images/icons/icon_processing.gif) no-repeat 47% 47%;
cursor:wait;
text-indent:-9999px;
diff --git a/theme/identica/css/display.css b/theme/identica/css/display.css
index 8bacd7673..1f9cc800a 100644
--- a/theme/identica/css/display.css
+++ b/theme/identica/css/display.css
@@ -157,7 +157,8 @@ background-repeat:no-repeat;
background-color:transparent;
}
-#wrap form.processing input.submit {
+#wrap form.processing input.submit,
+.entity_actions a.processing {
background:#FFFFFF url(../../base/images/icons/icon_processing.gif) no-repeat 47% 47%;
cursor:wait;
text-indent:-9999px;