]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/msg-header.tpl
Merge pull request #12883 from xundeenergie/easy-image-attach
[friendica.git] / view / templates / msg-header.tpl
index 1e1d51661bee9f3efe25870d23eaae39589eef4d..7b8baf0750bf5ed6a9a47fdebe02eb726f02202d 100644 (file)
@@ -1,12 +1,12 @@
 <script language="javascript" type="text/javascript">
        $("#prvmail-text").editor_autocomplete(baseurl + '/search/acl');
 </script>
-<script type="text/javascript" src="view/js/ajaxupload.js?v={{$smarty.const.FRIENDICA_VERSION}}" ></script>
+<script type="text/javascript" src="view/js/ajaxupload.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
 <script>
        $(document).ready(function() {
                var uploader = new window.AjaxUpload(
                        'prvmail-upload',
-                       { action: 'wall_upload/{{$nickname}}',
+                       { action: 'profile/{{$nickname}}/photos/upload',
                                name: 'userfile',
                                onSubmit: function(file,ext) { $('#profile-rotator').show(); },
                                onComplete: function(file,response) {