diff options
author | Wave <tuscanhobbit@users.noreply.github.com> | 2015-10-19 10:28:17 +0200 |
---|---|---|
committer | Wave <tuscanhobbit@users.noreply.github.com> | 2015-10-19 10:28:17 +0200 |
commit | 3e9b6a330d157ac8aa4831b57d33ec495345a9c7 (patch) | |
tree | 8c2539297a17b3f1409536b94dd4558c5a32bd08 /view/tpl/msg-header.tpl | |
parent | 319b02a757ced679d0eaf141cc40db585fa6f84b (diff) | |
parent | b54c4df74dd370c74d5822cdd00e0cf1ff52493f (diff) | |
download | volse-hubzilla-3e9b6a330d157ac8aa4831b57d33ec495345a9c7.tar.gz volse-hubzilla-3e9b6a330d157ac8aa4831b57d33ec495345a9c7.tar.bz2 volse-hubzilla-3e9b6a330d157ac8aa4831b57d33ec495345a9c7.zip |
Merge pull request #1 from redmatrix/master
Update to latest hubzilla
Diffstat (limited to 'view/tpl/msg-header.tpl')
-rwxr-xr-x | view/tpl/msg-header.tpl | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/view/tpl/msg-header.tpl b/view/tpl/msg-header.tpl index 2119d3b02..3407e152c 100755 --- a/view/tpl/msg-header.tpl +++ b/view/tpl/msg-header.tpl @@ -48,30 +48,32 @@ else <script type="text/javascript" src="view/js/ajaxupload.js" ></script> <script> $(document).ready(function() { - var uploader = new window.AjaxUpload( - 'prvmail-upload-wrapper', - { action: 'wall_upload/{{$nickname}}', + + var file_uploader = new window.AjaxUpload( + 'prvmail-attach-wrapper', + { action: 'wall_attach/{{$nickname}}', name: 'userfile', onSubmit: function(file,ext) { $('#prvmail-rotator').spin('tiny'); }, onComplete: function(file,response) { addmailtext(response); $('#prvmail-rotator').spin(false); - } + } } ); - var file_uploader = new window.AjaxUpload( - 'prvmail-attach-wrapper', + 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() { |