Mercurial > lada > lada-client
comparison app/controller/Proben.js @ 13:a8efc4b96888
Added model for Proben and a Store.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 30 Apr 2013 12:34:36 +0200 |
parents | 039584709fa7 |
children | 9e1a40312bbe |
comparison
equal
deleted
inserted
replaced
12:cdcaf38eab45 | 13:a8efc4b96888 |
---|---|
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' | 4 'proben.List' |
5 ], | |
6 stores: [ | |
7 'Proben' | |
8 ], | |
9 models: [ | |
10 'Probe' | |
5 ], | 11 ], |
6 init: function() { | 12 init: function() { |
7 console.log('Initialising the Proben controller'); | 13 console.log('Initialising the Proben controller'); |
8 this.control({ | 14 this.control({ |
9 // CSS like selector to select element in the viewport. See | 15 // CSS like selector to select element in the viewport. See |