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;
}
var default_text = '-- SELECT --';
+ if(this.placeholder.length){
+ default_text = this.placeholder;
+ }
+
+ if(this.emptyTitle.length){
+ default_text += ' - ' + this.emptyTitle + ' -';
+ }
+
var opt = this.inputEl().createChild({
tag: 'option',
value : 0,