Mercurial > lada > lada-client
view app/view/widget/Status.js @ 1190:d7bcd31ceaa6
Added reference to probe window when opening messung create window.
(grafted from af65544e47e259b355212d8d1f3598a2de60320d)
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 31 Aug 2016 15:56:07 +0200 |
parents | 85acec6c6e6a |
children | 38599f18c863 |
line wrap: on
line source
/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz * Software engineering by Intevation GmbH * * This file is Free Software under the GNU GPL (v>=3) * and comes with ABSOLUTELY NO WARRANTY! Check out * the documentation coming with IMIS-Labordaten-Application for details. */ var statuswerteStore = Ext.create('Ext.data.Store', { fields: ['id', 'wert'], data: [{ 'id': 1, 'wert': 'plausibel' }, { 'id': 2, 'wert': 'nicht repräsentativ' }, { 'id': 3, 'wert': 'nicht plausibel' }, { 'id': 4, 'wert': 'Rückfrage' }, { 'id': 7, 'wert': 'nicht lieferbar' }, { 'id': 8, 'wert': 'zurücksetzen' }] }); /** * Combobox for Statuswert */ Ext.define('Lada.view.widget.Status', { extend: 'Lada.view.widget.base.ComboBox', alias: 'widget.statuswert', store: statuswerteStore, displayField: 'wert', valueField: 'id', emptyText: 'Wählen Sie einen Status', // Enable filtering of comboboxes autoSelect: false, queryMode: 'local', triggerAction: 'all', typeAhead: false, minChars: 0, initComponent: function() { this.callParent(arguments); } });