Mercurial > lada > lada-client
diff 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 |
line wrap: on
line diff
--- a/app/view/window/ImportResponse.js Thu Jul 23 16:40:28 2015 +0200 +++ b/app/view/window/ImportResponse.js Thu Jul 23 16:40:50 2015 +0200 @@ -1,5 +1,5 @@ /** - * + * This Window is shown, when Proben could be imported from a LAF file */ Ext.define('Lada.view.window.ImportResponse', { extend: 'Ext.window.Window', @@ -31,6 +31,11 @@ this.callParent(arguments); }, + /** + * Parse the Response + * @param msg the Lada-Erro-Code + * @param data the payload of the response + */ parseResponse: function(msg, data) { console.log(Ext.JSON.decode(data)); data = Ext.JSON.decode(data);