comparison app/view/widget/Location.js @ 548:d47ee7439f44

Added new js files.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 06 Mar 2015 12:43:52 +0100
parents
children 65ea1c2a8c98
comparison
equal deleted inserted replaced
547:f172b35a3b92 548:d47ee7439f44
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
2 * Software engineering by Intevation GmbH
3 *
4 * This file is Free Software under the GNU GPL (v>=3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
6 * the documentation coming with IMIS-Labordaten-Application for details.
7 */
8
9 /**
10 * Combobox for Ortdetails
11 */
12 Ext.define('Lada.view.widget.Location', {
13 extend: 'Lada.view.widget.base.ComboBox',
14 alias: 'widget.location',
15 displayField: 'bezeichnung',
16 valueField: 'id',
17 emptyText: 'Wählen Sie einen Ort',
18 // Enable filtering of comboboxes
19 autoSelect: false,
20 queryMode: 'local',
21 triggerAction: 'all',
22 typeAhead: false,
23 minChars: 0,
24
25 initComponent: function() {
26 this.store = Ext.data.StoreManager.get('locations');
27 if (!this.store) {
28 this.store = Ext.create('Lada.store.Locations');
29 }
30 this.callParent(arguments);
31 }
32 });

http://lada.wald.intevation.org