Added processing indicator for more anchor
This commit is contained in:
parent
e2768b8635
commit
7dd701fbb3
|
@ -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());
|
||||
});
|
||||
|
|
|
@ -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%;
|
||||
}
|
||||
|
|
|
@ -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%;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user