// private
onEmptyResults : function(){
- Roo.log('empty result call');
if(this.tickable && this.editable){
+ this.hasFocus = false;
this.restrictHeight();
return;
}
this.hasFocus = false;
if(this.tickable){
-
this.okBtn.hide();
this.cancelBtn.hide();
this.trigger.show();
onSearchFieldClick : function(e)
{
- Roo.log('in???');
- Roo.log([this.hasFocus, e.getTarget().nodeName.toLowerCase() ]);
-
if(this.hasFocus && !this.disabled && e.getTarget().nodeName.toLowerCase() != 'button'){
- Roo.log('onSearchFieldClick');
this.onTickableFooterButtonClick(e, false, false);
return;
}
validate : function()
{
+ if(this.getVisibilityEl().hasClass('hidden')){
+ return true;
+ }
+
var v = this.getRawValue();
if(this.multiple){