Mercurial > lada > lada-client
comparison app/controller/Sql.js @ 235:78134e20e62d
Added new model and store for Queries.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 23 Jul 2013 09:52:05 +0200 |
parents | 5da0b56bf9bf |
children | 4ca858026191 |
comparison
equal
deleted
inserted
replaced
234:d4894ed5045a | 235:78134e20e62d |
---|---|
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 stores: [ | 4 stores: [ |
5 'Proben' // List of found Proben | 5 'Proben', // List of found Proben |
6 'Queries' | |
6 ], | 7 ], |
7 init: function() { | 8 init: function() { |
8 console.log('Initialising the Sql controller'); | 9 console.log('Initialising the Sql controller'); |
9 this.control({ | 10 this.control({ |
10 // CSS like selector to select element in the viewport. See | 11 // CSS like selector to select element in the viewport. See |