diff app/view/window/FileUpload.js @ 809:3bc19188fc3a

Added some todos, Enhanced Proge-Generation Success Msg.
author Dustin Demuth <dustin@intevation.de>
date Fri, 22 May 2015 16:14:14 +0200
parents 66812ad4b720
children def27cdd0dfa
line wrap: on
line diff
--- a/app/view/window/FileUpload.js	Fri May 22 15:59:40 2015 +0200
+++ b/app/view/window/FileUpload.js	Fri May 22 16:14:14 2015 +0200
@@ -59,6 +59,7 @@
     },
 
     uploadFile: function(button) {
+        // TODO Error handling ?
         var win = button.up('window');
         var uploader = Ext.create('Ext.ux.upload.uploader.ExtJsUploader', {
             extraHeaders: {
@@ -86,6 +87,7 @@
     },
 
     uploadFailure: function(file, response) {
+        // TODO handle Errors correctly, especially AuthenticationTimeouts
         this.close();
         var win = Ext.create('Lada.view.window.ImportResponse', {
             data: response.response.responseText,

http://lada.wald.intevation.org