diff --git a/apps/common/main/lib/component/ComboBoxFonts.js b/apps/common/main/lib/component/ComboBoxFonts.js index d2e7b88ee..cc01c5a83 100644 --- a/apps/common/main/lib/component/ComboBoxFonts.js +++ b/apps/common/main/lib/component/ComboBoxFonts.js @@ -383,6 +383,10 @@ define([ }, onBeforeShowMenu: function(e) { + if (this.store.length<1) { + e.preventDefault(); + return; + } Common.UI.ComboBox.prototype.onBeforeShowMenu.apply(this, arguments); if (!this.getSelectedRecord() && !!this.getRawValue()) {