Roo/bootstrap/ComboBox.js
[roojs1] / Roo / bootstrap / ComboBox.js
index d0cfafd..7c93269 100644 (file)
@@ -1514,7 +1514,7 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         
         if(this.tickable && this.editable){
             this.restrictHeight();
-            return;
+            // return;
         }
         
         this.collapse();
@@ -1730,6 +1730,7 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         this.hasFocus = false;
         
         if(this.tickable){
+            
             this.okBtn.hide();
             this.cancelBtn.hide();
             this.trigger.show();
@@ -2836,11 +2837,11 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
             var default_text = '-- SELECT --';
             
             if(this.placeholder.length){
-                default_text = this.placeholder + ' -';
+                default_text = this.placeholder;
             }
             
             if(this.emptyTitle.length){
-                default_text = this.emptyTitle + ' -';
+                default_text += ' - ' + this.emptyTitle + ' -';
             }
             
             var opt = this.inputEl().createChild({