comparison app/controller/Proben.js @ 121:c05fda928b82

Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 21 Jun 2013 16:55:23 +0200
parents 882566d0b8f3
children a7bfaeb1655d
comparison
equal deleted inserted replaced
120:19eab475bbe5 121:c05fda928b82
1 Ext.define('Lada.controller.Proben', { 1 Ext.define('Lada.controller.Proben', {
2 extend: 'Ext.app.Controller', 2 extend: 'Ext.app.Controller',
3 views: [ 3 views: [
4 'proben.List',
5 'proben.Edit', 4 'proben.Edit',
6 'proben.Create' 5 'proben.Create'
7 ], 6 ],
8 stores: [ 7 stores: [
9 'Proben', 8 'Proben'
10 'Orte', 9 // 'Orte',
11 'Uwb', 10 // 'Messungen',
12 'Datenbasis', 11 // 'Zusatzwerte',
13 'Probenart', 12 // 'Messeinheit',
14 'Betriebsart', 13 // 'Probenzusatzwert'
15 'Netzbetreiber',
16 'Testdatensatz',
17 'Messungen',
18 'Zusatzwerte',
19 'Messeinheit',
20 'Probenzusatzwert'
21 ],
22 models: [
23 'Probe'
24 ], 14 ],
25 init: function() { 15 init: function() {
26 console.log('Initialising the Proben controller'); 16 console.log('Initialising the Proben controller');
27 this.control({ 17 this.control({
28 // CSS like selector to select element in the viewport. See 18 // CSS like selector to select element in the viewport. See

http://lada.wald.intevation.org