[Lada-commits] [PATCH] Corrected URL for lada-server in export and import

Wald Commits scm-commit at wald.intevation.org
Fri Apr 17 10:51:46 CEST 2015


# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1429260700 -7200
# Node ID e002234d7da5befe18588f959ca928de66df742e
# Parent  6bc05ba2f6b18ae54b0212cc946ec5d10fdb8ba9
Corrected URL for lada-server in export and import

diff -r 6bc05ba2f6b1 -r e002234d7da5 app/controller/FilterResult.js
--- a/app/controller/FilterResult.js	Thu Apr 16 15:56:03 2015 +0200
+++ b/app/controller/FilterResult.js	Fri Apr 17 10:51:40 2015 +0200
@@ -66,7 +66,7 @@
 
         Ext.Ajax.request({
             method: 'POST',
-            url: '/lada-server/export/laf',
+            url: 'lada-server/export/laf',
             jsonData: {'proben': proben},
             headers: {'X-OPENID-PARAMS': Lada.openIDParams},
             success: function(response) {
diff -r 6bc05ba2f6b1 -r e002234d7da5 app/view/window/FileUpload.js
--- a/app/view/window/FileUpload.js	Thu Apr 16 15:56:03 2015 +0200
+++ b/app/view/window/FileUpload.js	Fri Apr 17 10:51:40 2015 +0200
@@ -65,7 +65,7 @@
                 'X-OPENID-PARAMS': Lada.openIDParams
             },
             method: 'POST',
-            url: '/lada-server/import/laf'
+            url: 'lada-server/import/laf'
         });
         this.mon(uploader, 'uploadsuccess', win.uploadSuccess, win);
         this.mon(uploader, 'uploadfailure', win.uploadFailure, win);


More information about the Lada-commits mailing list