For Bug 41407
This commit is contained in:
parent
3fea3a36d5
commit
adb0adaca1
|
@ -383,6 +383,10 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onBeforeShowMenu: function(e) {
|
onBeforeShowMenu: function(e) {
|
||||||
|
if (this.store.length<1) {
|
||||||
|
e.preventDefault();
|
||||||
|
return;
|
||||||
|
}
|
||||||
Common.UI.ComboBox.prototype.onBeforeShowMenu.apply(this, arguments);
|
Common.UI.ComboBox.prototype.onBeforeShowMenu.apply(this, arguments);
|
||||||
|
|
||||||
if (!this.getSelectedRecord() && !!this.getRawValue()) {
|
if (!this.getSelectedRecord() && !!this.getRawValue()) {
|
||||||
|
|
Loading…
Reference in a new issue