comparison app/view/window/FileUpload.js @ 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
parents 83c571b022f3
children 66812ad4b720
comparison
equal deleted inserted replaced
726:6bc05ba2f6b1 727:e002234d7da5
63 var uploader = Ext.create('Ext.ux.upload.uploader.ExtJsUploader', { 63 var uploader = Ext.create('Ext.ux.upload.uploader.ExtJsUploader', {
64 extraHeaders: { 64 extraHeaders: {
65 'X-OPENID-PARAMS': Lada.openIDParams 65 'X-OPENID-PARAMS': Lada.openIDParams
66 }, 66 },
67 method: 'POST', 67 method: 'POST',
68 url: '/lada-server/import/laf' 68 url: 'lada-server/import/laf'
69 }); 69 });
70 this.mon(uploader, 'uploadsuccess', win.uploadSuccess, win); 70 this.mon(uploader, 'uploadsuccess', win.uploadSuccess, win);
71 this.mon(uploader, 'uploadfailure', win.uploadFailure, win); 71 this.mon(uploader, 'uploadfailure', win.uploadFailure, win);
72 console.log(button.up('window')); 72 console.log(button.up('window'));
73 if (button.up('window').file !== null) { 73 if (button.up('window').file !== null) {

http://lada.wald.intevation.org