Roo/form/ComboBoxArray.js
[roojs1] / Roo / form / ComboBox.js
index dc07270..734a99e 100644 (file)
@@ -487,7 +487,6 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
         if(this.editable !== false){
             this.el.on("keyup", this.onKeyUp, this);
         }
-        Roo.log('forceSelection : ' + this.forceSelection);
         if(this.forceSelection){
             this.on('blur', this.doForce, this);
         }
@@ -644,9 +643,8 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
     getValue : function(){
         if(this.valueField){
             return typeof this.value != 'undefined' ? this.value : '';
-        }else{
-            return Roo.form.ComboBox.superclass.getValue.call(this);
         }
+        return Roo.form.ComboBox.superclass.getValue.call(this);
     },
 
     /**
@@ -892,7 +890,6 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
 
     // private
     doForce : function(){
-        Roo.log('run doForce');
         if(this.el.dom.value.length > 0){
             this.el.dom.value =
                 this.lastSelectionText === undefined ? '' : this.lastSelectionText;