Mercurial > lada > lada-client
comparison app/controller/Sql.js @ 253:424f18da3c64
Fixed variable name
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 24 Jul 2013 15:25:05 +0200 |
parents | 1bce2d59b7e9 |
children | 92b475303806 |
comparison
equal
deleted
inserted
replaced
252:1bce2d59b7e9 | 253:424f18da3c64 |
---|---|
34 var result = Ext.getCmp('result'); | 34 var result = Ext.getCmp('result'); |
35 var filters = Ext.getCmp('queryfilters'); | 35 var filters = Ext.getCmp('queryfilters'); |
36 var sqlquery = Ext.getCmp('sqlquery'); | 36 var sqlquery = Ext.getCmp('sqlquery'); |
37 var sqldesc = Ext.getCmp('sqldesc'); | 37 var sqldesc = Ext.getCmp('sqldesc'); |
38 var buttons = Ext.getCmp('SearchBtnPanel'); | 38 var buttons = Ext.getCmp('SearchBtnPanel'); |
39 var displayFields = record[0].data.fields; | 39 var displayFields = record[0].data.results; |
40 var filterFields = record[0].data.filters; | 40 var filterFields = record[0].data.filters; |
41 | |
41 this.reset(); | 42 this.reset(); |
42 | 43 |
43 sqlquery.setValue(record[0].data.sql); | 44 sqlquery.setValue(record[0].data.sql); |
44 sqldesc.setValue(record[0].data.description); | 45 sqldesc.setValue(record[0].data.description); |
45 | 46 |