Added processing indicator for more anchor

This commit is contained in:
Sarven Capadisli 2010-03-18 23:00:38 +01:00
parent f137946607
commit 72cf8e712d
3 changed files with 3 additions and 2 deletions

View File

@ -402,6 +402,7 @@ var SN = { // StatusNet
var attachment_more = notice.find('.attachment.more');
if (attachment_more.length > 0) {
attachment_more.click(function() {
$(this).addClass(SN.C.S.Processing);
$.get($(this).attr('href')+'/ajax', null, function(data) {
notice.find('.entry-title .entry-content').html($(data).find('#attachment_view .entry-content').html());
});

View File

@ -213,7 +213,7 @@ background-color:transparent;
}
#wrap form.processing input.submit,
.entity_actions a.processing,
#content a.processing,
.dialogbox.processing .submit_dialogbox {
background:#FFFFFF url(../../base/images/icons/icon_processing.gif) no-repeat 47% 47%;
}

View File

@ -214,7 +214,7 @@ background-color:transparent;
}
#wrap form.processing input.submit,
.entity_actions a.processing,
#content a.processing,
.dialogbox.processing .submit_dialogbox {
background:#FFFFFF url(../../base/images/icons/icon_processing.gif) no-repeat 47% 47%;
}