]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/media/js/wmd/wmd.js
Bugfix for javascript upload OSQA-487
[osqa.git] / forum / skins / default / media / js / wmd / wmd.js
index b6d0e434173c6fc25717de009ce7aae3c3157e17..f54158185726291aa831b72f887845baddab1fc3 100644 (file)
@@ -17,7 +17,7 @@ function ajaxFileUpload(imageUrl)
       $.ajaxFileUpload
       (
         {
-            url:'/upload/',
+            url: scriptUrl+'upload/',
               secureuri:false,
               fileElementId:'file-upload',
               dataType: 'xml',