Mercurial > lada > lada-client
comparison app/controller/Sql.js @ 120:19eab475bbe5
Clean up part one. Reduced application to the search page. Moved some stores for comoboboxes right to the combobox
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 21 Jun 2013 16:53:39 +0200 |
parents | 9a549ca6e664 |
children | df6e36dd57ee |
comparison
equal
deleted
inserted
replaced
119:1a08905b46e2 | 120:19eab475bbe5 |
---|---|
1 var queries = new Array('query1', 'query2'); | 1 var queries = new Array('query1', 'query2'); |
2 Ext.define('Lada.controller.Sql', { | 2 Ext.define('Lada.controller.Sql', { |
3 extend: 'Ext.app.Controller', | 3 extend: 'Ext.app.Controller', |
4 views: [ | |
5 'search.List' | |
6 ], | |
7 stores: [ | 4 stores: [ |
8 'Sql', | 5 'Proben' // List of found Proben |
9 'Uwb', | |
10 'Mst' | |
11 ], | 6 ], |
12 init: function() { | 7 init: function() { |
13 console.log('Initialising the Sql controller'); | 8 console.log('Initialising the Sql controller'); |
14 this.control({ | 9 this.control({ |
15 // CSS like selector to select element in the viewport. See | 10 // CSS like selector to select element in the viewport. See |