aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot-header.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-15 18:08:03 -0700
committerfriendica <info@friendica.com>2013-07-15 18:08:03 -0700
commit2cfd9a3fa9819d492a9718f0ae8cc7bb8fc3faac (patch)
tree18e1ff47094d3f24a4cec79890b758c89852a6c8 /view/tpl/jot-header.tpl
parent3bd7c1af238191bd9b1a739b7123fc1ec0296174 (diff)
parent1ace84a5644b72a20991d15f60d4b1fcb3ed926e (diff)
downloadvolse-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/jot-header.tpl')
-rwxr-xr-xview/tpl/jot-header.tpl16
1 files changed, 8 insertions, 8 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index 3afc98737..260d742b3 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -123,10 +123,10 @@ function enableOnUser(){
'wall-image-upload',
{ action: '{{$baseurl}}/wall_upload/{{$nickname}}',
name: 'userfile',
- onSubmit: function(file,ext) { $('#profile-rotator').show(); },
+ onSubmit: function(file,ext) { $('#profile-rotator').spin('tiny'); },
onComplete: function(file,response) {
addeditortext(response);
- $('#profile-rotator').hide();
+ $('#profile-rotator').spin(false);
}
}
);
@@ -134,10 +134,10 @@ function enableOnUser(){
'wall-file-upload',
{ action: '{{$baseurl}}/wall_attach/{{$nickname}}',
name: 'userfile',
- onSubmit: function(file,ext) { $('#profile-rotator').show(); },
+ onSubmit: function(file,ext) { $('#profile-rotator').spin('tiny'); },
onComplete: function(file,response) {
addeditortext(response);
- $('#profile-rotator').hide();
+ $('#profile-rotator').spin(false);
}
}
);
@@ -167,10 +167,10 @@ function enableOnUser(){
reply = prompt("{{$linkurl}}");
if(reply && reply.length) {
reply = bin2hex(reply);
- $('#profile-rotator').show();
+ $('#profile-rotator').spin('tiny');
$.get('{{$baseurl}}/parse_url?binurl=' + reply, function(data) {
addeditortext(data);
- $('#profile-rotator').hide();
+ $('#profile-rotator').spin(false);
});
}
}
@@ -224,12 +224,12 @@ function enableOnUser(){
event.preventDefault();
if(reply && reply.length) {
reply = bin2hex(reply);
- $('#profile-rotator').show();
+ $('#profile-rotator').spin('tiny');
$.get('{{$baseurl}}/parse_url?binurl=' + reply, function(data) {
if (!editor) $("#profile-jot-text").val("");
initEditor(function(){
addeditortext(data);
- $('#profile-rotator').hide();
+ $('#profile-rotator').spin(false);
});
});
}