comparison app/view/window/FileUpload.js @ 999:f73ca04d73a7 stammdatengrids

Refactored Server URL
author Dustin Demuth <dustin@intevation.de>
date Wed, 13 Jan 2016 14:50:28 +0100
parents def27cdd0dfa
children 4b456449029c
comparison
equal deleted inserted replaced
984:b21421ba6917 999:f73ca04d73a7
80 var uploader = Ext.create('Ext.ux.upload.uploader.ExtJsUploader', { 80 var uploader = Ext.create('Ext.ux.upload.uploader.ExtJsUploader', {
81 extraHeaders: { 81 extraHeaders: {
82 'X-OPENID-PARAMS': Lada.openIDParams 82 'X-OPENID-PARAMS': Lada.openIDParams
83 }, 83 },
84 method: 'POST', 84 method: 'POST',
85 url: 'lada-server/import/laf' 85 url: 'lada-server/data/import/laf'
86 }); 86 });
87 this.mon(uploader, 'uploadsuccess', win.uploadSuccess, win); 87 this.mon(uploader, 'uploadsuccess', win.uploadSuccess, win);
88 this.mon(uploader, 'uploadfailure', win.uploadFailure, win); 88 this.mon(uploader, 'uploadfailure', win.uploadFailure, win);
89 if (button.up('window').file !== null) { 89 if (button.up('window').file !== null) {
90 uploader.uploadItem(button.up('window').file); 90 uploader.uploadItem(button.up('window').file);

http://lada.wald.intevation.org