if(this.tickable){
+ Roo.log(e.getTarget().nodeName.toLowerCase());
if(typeof(e) != 'undefined' && e.getTarget().nodeName.toLowerCase() != 'input'){
return;
}
onEmptyResults : function(){
if(this.tickable && this.editable){
+ this.hasFocus = false;
this.restrictHeight();
return;
}
if(this.fireEvent('beforequery', qe)===false || qe.cancel){
return false;
}
-
- Roo.log(qe);
-
q = qe.query;
forceAll = qe.forceAll;
if(forceAll === true || (q.length >= this.minChars)){
this.hasQuery = true;
- Roo.log('in??');
+
if(this.lastQuery != q || this.alwaysQuery){
this.lastQuery = q;
if(this.mode == 'local'){
this.onLoad();
- Roo.log('onload???');
}else{
validate : function()
{
+ if(this.getVisibilityEl().hasClass('hidden')){
+ return true;
+ }
+
var v = this.getRawValue();
if(this.multiple){