Mercurial > lada > lada-client
comparison app/controller/Sql.js @ 8:e4fcb4ddd782
Moved stored SQL into its own file.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 29 Apr 2013 16:31:31 +0200 |
parents | 8e79bda4d55b |
children | 3eaeeec2bb28 |
comparison
equal
deleted
inserted
replaced
7:54f95ab2f375 | 8:e4fcb4ddd782 |
---|---|
1 Ext.define('Lada.controller.Sql', { | 1 Ext.define('Lada.controller.Sql', { |
2 extend: 'Ext.app.Controller', | 2 extend: 'Ext.app.Controller', |
3 views: [ | 3 views: [ |
4 'sql.List' | 4 'sql.List' |
5 ], | |
6 stores: [ | |
7 'Sql' | |
5 ], | 8 ], |
6 init: function() { | 9 init: function() { |
7 console.log('Initialising the Sql controller'); | 10 console.log('Initialising the Sql controller'); |
8 this.control({ | 11 this.control({ |
9 // CSS like selector to select element in the viewport. See | 12 // CSS like selector to select element in the viewport. See |