diff options
author | Sarven Capadisli <csarven@csarven-laptop.(none)> | 2009-11-27 15:00:39 +0100 |
---|---|---|
committer | Sarven Capadisli <csarven@csarven-laptop.(none)> | 2009-11-27 15:00:39 +0100 |
commit | 35f2239ce49d4837be6bd8231a64257a6c50fbaa (patch) | |
tree | c365b476220211c0b45623a15c87cd90b2add820 /js/util.js | |
parent | e96bba05420a3d94aac67afbdc7e7f7fb2de2188 (diff) |
Added processing icon for entity_actions anchors
Diffstat (limited to 'js/util.js')
-rw-r--r-- | js/util.js | 3 |
1 files changed, 3 insertions, 0 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; }); } |