Roo/bootstrap/ComboBox.js
authorMicheal <micheal@roojs.com>
Wed, 28 Jan 2015 04:36:44 +0000 (12:36 +0800)
committerMicheal <micheal@roojs.com>
Wed, 28 Jan 2015 04:36:44 +0000 (12:36 +0800)
Roo/bootstrap/ComboBox.js

index 01160c5..2211c4d 100644 (file)
@@ -683,7 +683,7 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         this.searchField = this.el.select('ul li.select2-search-field', true).first();
         
         //this.trigger = this.el.select('.tickable-buttons > .btn-edit', true).first();
-        this.trigger = this.el.select('ul li.select2-search-field', true).first();
+        this.trigger = this.el.select('.tickable-buttons', true).first();
         this.trigger.on("click", this.onTriggerClick, this, {preventDefault:true});
         
         this.okBtn = this.el.select('.tickable-buttons > .btn-ok', true).first();