partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

ActionsComboBox.js (487B)


      1 Ext.define("PartKeepr.BarcodeScanner.ActionsComboBox", {
      2     extend: "Ext.form.field.ComboBox",
      3     displayField: "name",
      4     valueField: "action",
      5     queryMode: "local",
      6     editable: false,
      7     emptyText: i18n("Select an action"),
      8     forceSelection: true,
      9     xtype: 'barcodescannerActions',
     10     returnObject: true,
     11     initComponent: function ()
     12     {
     13         this.store = Ext.create("PartKeepr.Data.store.BarcodeScannerActionsStore");
     14         this.callParent(arguments);
     15     }
     16 });