changeset 727:e002234d7da5

Corrected URL for lada-server in export and import
author Dustin Demuth <dustin@intevation.de>
date Fri, 17 Apr 2015 10:51:40 +0200 (2015-04-17)
parents 6bc05ba2f6b1
children aadb6e1f0a70
files app/controller/FilterResult.js app/view/window/FileUpload.js
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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) {
--- 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);

http://lada.wald.intevation.org