comparison app/view/window/ImportResponse.js @ 890:def27cdd0dfa

Added Documentation to Windows
author Dustin Demuth <dustin@intevation.de>
date Thu, 23 Jul 2015 16:40:50 +0200
parents 7eb8ef8e68ca
children 746915a63a11
comparison
equal deleted inserted replaced
889:81fc61545638 890:def27cdd0dfa
1 /** 1 /**
2 * 2 * This Window is shown, when Proben could be imported from a LAF file
3 */ 3 */
4 Ext.define('Lada.view.window.ImportResponse', { 4 Ext.define('Lada.view.window.ImportResponse', {
5 extend: 'Ext.window.Window', 5 extend: 'Ext.window.Window',
6 alias: 'widget.importresponse', 6 alias: 'widget.importresponse',
7 7
29 }]; 29 }];
30 30
31 this.callParent(arguments); 31 this.callParent(arguments);
32 }, 32 },
33 33
34 /**
35 * Parse the Response
36 * @param msg the Lada-Erro-Code
37 * @param data the payload of the response
38 */
34 parseResponse: function(msg, data) { 39 parseResponse: function(msg, data) {
35 console.log(Ext.JSON.decode(data)); 40 console.log(Ext.JSON.decode(data));
36 data = Ext.JSON.decode(data); 41 data = Ext.JSON.decode(data);
37 var errors = data.data.errors; 42 var errors = data.data.errors;
38 var warnings = data.data.warnings; 43 var warnings = data.data.warnings;

http://lada.wald.intevation.org