diff options
author | friendica <info@friendica.com> | 2013-07-15 18:08:03 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-07-15 18:08:03 -0700 |
commit | 2cfd9a3fa9819d492a9718f0ae8cc7bb8fc3faac (patch) | |
tree | 18e1ff47094d3f24a4cec79890b758c89852a6c8 /view/tpl/msg-header.tpl | |
parent | 3bd7c1af238191bd9b1a739b7123fc1ec0296174 (diff) | |
parent | 1ace84a5644b72a20991d15f60d4b1fcb3ed926e (diff) | |
download | volse-hubzilla-2cfd9a3fa9819d492a9718f0ae8cc7bb8fc3faac.tar.gz volse-hubzilla-2cfd9a3fa9819d492a9718f0ae8cc7bb8fc3faac.tar.bz2 volse-hubzilla-2cfd9a3fa9819d492a9718f0ae8cc7bb8fc3faac.zip |
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'view/tpl/msg-header.tpl')
-rwxr-xr-x | view/tpl/msg-header.tpl | 12 |
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); }); } } |