Added processing indicator for more anchor

This commit is contained in:
Sarven Capadisli
2010-03-18 23:00:38 +01:00
parent e2768b8635
commit 7dd701fbb3
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());
});