]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added processing icon for entity_actions anchors
authorSarven Capadisli <csarven@csarven-laptop.(none)>
Fri, 27 Nov 2009 14:00:39 +0000 (15:00 +0100)
committerSarven Capadisli <csarven@csarven-laptop.(none)>
Fri, 27 Nov 2009 14:00:39 +0000 (15:00 +0100)
js/util.js
theme/default/css/display.css
theme/identica/css/display.css

index baf5aa3438b11d239a4f9c246ab924912e335dc1..81018a4b8c0dc90b3f9adb5381f2eedc8cd0f654 100644 (file)
@@ -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;
             });
         }
index 4b1c269675cdca3ae834bb47aed615947353e5a5..0943851511ac51f32d7479c7c9534728885edf44 100644 (file)
@@ -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;
index 8bacd767320d958feef3eb50f4343cefe93854c3..1f9cc800a4f25f7f718da753d30f376fbe0414b5 100644 (file)
@@ -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;