aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/msg-header.tpl
diff options
context:
space:
mode:
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() {