# HG changeset patch # User Raimund Renkert # Date 1487764434 -3600 # Node ID 12ffe66a6786db174dbfff925b02edc18c60ccad # Parent 6ccaeeeb41ad6f776342838ba00ed0608cc3b3fb Fixed combobox interactions. diff -r 6ccaeeeb41ad -r 12ffe66a6786 app/view/widget/base/ComboBox.js --- a/app/view/widget/base/ComboBox.js Fri Feb 17 12:05:30 2017 +0100 +++ b/app/view/widget/base/ComboBox.js Wed Feb 22 12:53:54 2017 +0100 @@ -26,6 +26,12 @@ if (this.allowBlank === undefined) { this.allowBlank = true; } + var dkf = false; + var ta = 'all'; + if (this.disableKeyFilter !== undefined) { + dkf = this.disableKeyFilter; + ta = this.disableKeyFilter ? 'all' : 'query' + } this.items = [{ xtype: 'combobox', flex: 1, @@ -54,8 +60,8 @@ tpl: this.tpl, displayTpl: this.displayTpl, // disable filtering of entries if disableKeyFilter is true - disableKeyFilter: this.disableKeyFilter || false, - triggerAction: this.disableKeyFilter? 'all' : 'query' + disableKeyFilter: dkf, + triggerAction: ta }, { xtype: 'image', name: 'warnImg',