diff --git a/apps/common/main/lib/component/ComboBox.js b/apps/common/main/lib/component/ComboBox.js index 7d7727391..63e7a524c 100644 --- a/apps/common/main/lib/component/ComboBox.js +++ b/apps/common/main/lib/component/ComboBox.js @@ -358,7 +358,7 @@ define([ Common.NotificationCenter.trigger('menu:hide', this, isFromInputControl); if (this.options.takeFocusOnClose) { var me = this; - (me._input && !me.editable) && (me._input[0].selectionStart===me._input[0].selectionEnd) && setTimeout(function() { + (me._input && me._input.length>0 && !me.editable) && (me._input[0].selectionStart===me._input[0].selectionEnd) && setTimeout(function() { me._input[0].selectionStart = me._input[0].selectionEnd = 0; },1); setTimeout(function(){me.focus();}, 1);