Roo/bootstrap/ComboBox.js
authoredward <edward@roojs.com>
Thu, 28 Dec 2017 03:58:27 +0000 (11:58 +0800)
committeredward <edward@roojs.com>
Thu, 28 Dec 2017 03:58:27 +0000 (11:58 +0800)
Roo/bootstrap/ComboBox.js

index c552643..8f38f07 100644 (file)
@@ -1166,17 +1166,6 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         
         if(this.store.getCount() > 0){
             
-            if(this.emptyTitle.length) {
-                
-                var r = new Roo.data.Record({});
-                
-                r.set(this.displayField, this.emptyTitle);
-                r.set(this.valueField, '');
-
-                this.store.insert(0, r);
-                
-            }
-            
             this.expand();
             this.restrictHeight();
             if(this.lastQuery == this.allQuery){