summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-03-18 23:00:38 +0100
committerSarven Capadisli <csarven@status.net>2010-03-25 22:18:43 +0100
commit72cf8e712d7d34920fc2002a54d5ebaeef514b9f (patch)
treed8898d85fc5b96541d1a17a34036c608e0e6f301
parentf137946607f5f5350333e1c91dddcbac68772569 (diff)
Added processing indicator for more anchor
-rw-r--r--js/util.js1
-rw-r--r--theme/default/css/display.css2
-rw-r--r--theme/identica/css/display.css2
3 files changed, 3 insertions, 2 deletions
diff --git a/js/util.js b/js/util.js
index 79fd40deb..60eeb418f 100644
--- a/js/util.js
+++ b/js/util.js
@@ -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());
});
diff --git a/theme/default/css/display.css b/theme/default/css/display.css
index a283930e5..d89607ebe 100644
--- a/theme/default/css/display.css
+++ b/theme/default/css/display.css
@@ -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%;
}
diff --git a/theme/identica/css/display.css b/theme/identica/css/display.css
index 69d265a6b..1af853c49 100644
--- a/theme/identica/css/display.css
+++ b/theme/identica/css/display.css
@@ -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%;
}