Mercurial > lada > lada-client
diff app/view/search/Variables.js @ 31:897e3100c6da
Changed logic of the Probenauswahl. Now logic works like the BFS version.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 21 May 2013 17:53:51 +0200 |
parents | 4d60b9ebce15 |
children |
line wrap: on
line diff
--- a/app/view/search/Variables.js Thu May 16 18:26:05 2013 +0200 +++ b/app/view/search/Variables.js Tue May 21 17:53:51 2013 +0200 @@ -1,23 +1,40 @@ Ext.define('Lada.view.search.Variables' ,{ - extend: 'Ext.panel.Panel', - alias: 'widget.variables', - border: false, - + extend: 'Ext.panel.Panel', + alias: 'widget.variables1', + border: false, initComponent: function() { this.items = [ { id: 'sqlVar1', - xtype: 'displayfield', + xtype: 'queryselector', fieldLabel: 'Variables for SQL 1', labelWidth: 300 - }, - { - id: 'sqlVar2', - xtype: 'displayfield', - fieldLabel: 'Variables for SQL 2', - labelWidth: 300 } ]; this.callParent(arguments); } }); + +//Ext.define('Lada.view.search.Variables' ,{ +// extend: 'Ext.panel.Panel', +// alias: 'widget.variables', +// border: false, +// +// initComponent: function() { +// this.items = [ +// { +// id: 'sqlVar1', +// xtype: 'displayfield', +// fieldLabel: 'Variables for SQL 1', +// labelWidth: 300 +// }, +// { +// id: 'sqlVar2', +// xtype: 'displayfield', +// fieldLabel: 'Variables for SQL 2', +// labelWidth: 300 +// } +// ]; +// this.callParent(arguments); +// } +//});