aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/msg-header.tpl
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2013-07-15 18:43:34 +0200
committermarijus <mario@localhost.localdomain>2013-07-15 18:43:34 +0200
commitb536116791f8cb010157126f2e73f029a83ab5fb (patch)
tree4e9fda00eb692e3fc01767f6da5201c99d07cbf9 /view/tpl/msg-header.tpl
parentf384695e3d0fe86b9a059ab4f289042bf17d2da2 (diff)
downloadvolse-hubzilla-b536116791f8cb010157126f2e73f029a83ab5fb.tar.gz
volse-hubzilla-b536116791f8cb010157126f2e73f029a83ab5fb.tar.bz2
volse-hubzilla-b536116791f8cb010157126f2e73f029a83ab5fb.zip
more spin.js porting
Diffstat (limited to 'view/tpl/msg-header.tpl')
-rwxr-xr-xview/tpl/msg-header.tpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/view/tpl/msg-header.tpl b/view/tpl/msg-header.tpl
index 4c47e1d6d..39fc30200 100755
--- a/view/tpl/msg-header.tpl
+++ b/view/tpl/msg-header.tpl
@@ -58,10 +58,10 @@ else
'prvmail-upload',
{ action: 'wall_upload/{{$nickname}}',
name: 'userfile',
- onSubmit: function(file,ext) { $('#profile-rotator').show(); },
+ onSubmit: function(file,ext) { $('#profile-rotator').spin('tiny'); },
onComplete: function(file,response) {
tinyMCE.execCommand('mceInsertRawHTML',false,response);
- $('#profile-rotator').hide();
+ $('#profile-rotator').spin(false);
}
}
);
@@ -71,10 +71,10 @@ else
function jotGetLink() {
reply = prompt("{{$linkurl}}");
if(reply && reply.length) {
- $('#profile-rotator').show();
+ $('#profile-rotator').spin('tiny');
$.get('parse_url?url=' + reply, function(data) {
tinyMCE.execCommand('mceInsertRawHTML',false,data);
- $('#profile-rotator').hide();
+ $('#profile-rotator').spin(false);
});
}
}
@@ -90,10 +90,10 @@ else
event.target.textContent = reply;
event.preventDefault();
if(reply && reply.length) {
- $('#profile-rotator').show();
+ $('#profile-rotator').spin('tiny');
$.get('parse_url?url=' + reply, function(data) {
tinyMCE.execCommand('mceInsertRawHTML',false,data);
- $('#profile-rotator').hide();
+ $('#profile-rotator').spin(false);
});
}
}