diff options
author | mrjive <mrjive@mrjive.it> | 2015-10-26 21:55:47 +0100 |
---|---|---|
committer | mrjive <mrjive@mrjive.it> | 2015-10-26 21:55:47 +0100 |
commit | a4c3058f845a1c38d06b2201a10700c5f878366d (patch) | |
tree | bab86468397e523457ba25199cb9a67265980e00 /view/tpl/msg-header.tpl | |
parent | 32522b61f235266384c81c0669fceaf58afeb4fe (diff) | |
parent | 6cb7afcbc0447b60de0128f9a912e10ae125ba45 (diff) | |
download | volse-hubzilla-a4c3058f845a1c38d06b2201a10700c5f878366d.tar.gz volse-hubzilla-a4c3058f845a1c38d06b2201a10700c5f878366d.tar.bz2 volse-hubzilla-a4c3058f845a1c38d06b2201a10700c5f878366d.zip |
Merge pull request #7 from redmatrix/master
updating from original codebase
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() { |