aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/msg-header.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-10-05 12:26:04 +0200
committerMario Vavti <mario@mariovavti.com>2015-10-05 12:26:04 +0200
commit05050381d3d662fd880cd04142cf6ba399cbf104 (patch)
treee7363a6c8b7456254f958312b9c1e656561717d4 /view/tpl/msg-header.tpl
parent95d6d2644f25b208ce087ed48578be580973745e (diff)
downloadvolse-hubzilla-05050381d3d662fd880cd04142cf6ba399cbf104.tar.gz
volse-hubzilla-05050381d3d662fd880cd04142cf6ba399cbf104.tar.bz2
volse-hubzilla-05050381d3d662fd880cd04142cf6ba399cbf104.zip
bring our bbcode tools to private mail
Diffstat (limited to 'view/tpl/msg-header.tpl')
-rwxr-xr-xview/tpl/msg-header.tpl15
1 files changed, 14 insertions, 1 deletions
diff --git a/view/tpl/msg-header.tpl b/view/tpl/msg-header.tpl
index 593b3652e..3407e152c 100755
--- a/view/tpl/msg-header.tpl
+++ b/view/tpl/msg-header.tpl
@@ -57,10 +57,23 @@ else
onComplete: function(file,response) {
addmailtext(response);
$('#prvmail-rotator').spin(false);
- }
+ }
+ }
+ );
+
+ var file_uploader_sub = new window.AjaxUpload(
+ 'prvmail-attach-sub',
+ { action: 'wall_attach/{{$nickname}}',
+ name: 'userfile',
+ onSubmit: function(file,ext) { $('#prvmail-rotator').spin('tiny'); },
+ onComplete: function(file,response) {
+ addmailtext(response);
+ $('#prvmail-rotator').spin(false);
+ }
}
);
+
});
function prvmailJotGetLink() {