Mercurial > lada > lada-client
comparison app/controller/Sql.js @ 139:df6e36dd57ee
Changed params probe -> probeId, mst -> mstId, uwb -> umwId
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 27 Jun 2013 16:21:21 +0200 |
parents | 19eab475bbe5 |
children | 5da0b56bf9bf |
comparison
equal
deleted
inserted
replaced
138:4287f29b5b81 | 139:df6e36dd57ee |
---|---|
49 var searchParams = {}; | 49 var searchParams = {}; |
50 if (Ext.getCmp('search').getValue() == 1) { | 50 if (Ext.getCmp('search').getValue() == 1) { |
51 var mst = Ext.getCmp('mst').getValue(); | 51 var mst = Ext.getCmp('mst').getValue(); |
52 var uwb = Ext.getCmp('uwb').getValue(); | 52 var uwb = Ext.getCmp('uwb').getValue(); |
53 if (mst !== null) { | 53 if (mst !== null) { |
54 searchParams['mst'] = mst; | 54 searchParams['mstId'] = mst; |
55 } | 55 } |
56 if (uwb !== null) { | 56 if (uwb !== null) { |
57 searchParams['uwb'] = uwb; | 57 searchParams['umwId'] = uwb; |
58 } | 58 } |
59 } else { | 59 } else { |
60 // Get date object an convert it into a timestamp (ms since epoch) | 60 // Get date object an convert it into a timestamp (ms since epoch) |
61 var datefield = Ext.getCmp('pbegin').getValue(); | 61 var datefield = Ext.getCmp('pbegin').getValue(); |
62 if (datefield !== null) { | 62 if (datefield !== null) { |