combobox.cn.push({
tag :'span',
- cls : 'input-group-addon input-group-append input-group-text btn dropdown-toggle',
+ cls : 'input-group-addon input-group-append input-group-text btn' +
+ (Roo.bootstrap.version == 3 ? ' dropdown-toggle' : ''),
cn : [
caret,
{
Roo.bootstrap.TriggerField.superclass.initEvents.call(this);
//this.wrap = this.el.wrap({cls: "x-form-field-wrap"});
if(!this.multiple && this.showToggleBtn){
- this.trigger = this.el.select('span.dropdown-toggle',true).first();
+ this.trigger = this.el.select('span.input-group-append',true).first();
if(this.hideTrigger){
this.trigger.setDisplayed(false);
}
combobox.cn.push({
tag :'span',
- cls : 'input-group-addon input-group-append input-group-text btn dropdown-toggle',
+ cls : 'input-group-addon input-group-append input-group-text btn' +
+ (Roo.bootstrap.version == 3 ? ' dropdown-toggle' : ''),
cn : [
caret,
{
this.originalValue = this.getValue();
- this.triggerEl = this.el.select('span.dropdown-toggle',true).first();
+ this.triggerEl = this.el.select('span.input-group-append',true).first();
this.inputEl().on("click", this.showTouchView, this);
if (this.triggerEl) {