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

Added Documentation to Windows
author Dustin Demuth <dustin@intevation.de>
date Thu, 23 Jul 2015 16:40:50 +0200
parents f1e964b3aad6
children 8054232535ba
comparison
equal deleted inserted replaced
889:81fc61545638 890:def27cdd0dfa
21 constrain: true, 21 constrain: true,
22 22
23 record: null, 23 record: null,
24 parentWindow: null, 24 parentWindow: null,
25 25
26 /**
27 * This function initialises the Window
28 */
26 initComponent: function() { 29 initComponent: function() {
27 var i18n = Lada.getApplication().bundle; 30 var i18n = Lada.getApplication().bundle;
28 31
29 // add listeners to change the window appearence when it becomes inactive 32 // add listeners to change the window appearence when it becomes inactive
30 this.on({ 33 this.on({
175 }]; 178 }];
176 this.callParent(arguments); 179 this.callParent(arguments);
177 }, 180 },
178 181
179 /** 182 /**
180 * Init 183 * Initiatlise the Data
181 */ 184 */
182 initData: function() { 185 initData: function() {
183 var i18n = Lada.getApplication().bundle; 186 var i18n = Lada.getApplication().bundle;
184 me = this; 187 me = this;
185 }, 188 },
200 r += response.data[i].probeIdAlt 203 r += response.data[i].probeIdAlt
201 } 204 }
202 return r; 205 return r;
203 }, 206 },
204 207
208 /**
209 * Reload the Application
210 */
205 reload: function(btn) { 211 reload: function(btn) {
206 if (btn === 'yes') { 212 if (btn === 'yes') {
207 location.reload(); 213 location.reload();
208 } 214 }
209 } 215 }

http://lada.wald.intevation.org