Roo/form/ComboBoxArray.js
[roojs1] / Roo / form / ComboBox.js
index e045b1c..734a99e 100644 (file)
@@ -643,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);
     },
 
     /**
@@ -819,8 +818,6 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
      * @return {Boolean} True if the value matched an item in the list, else false
      */
     selectByValue : function(v, scrollIntoView){
-        Roo.log('select By Value!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1');
-        Roo.log(v);
         if(v !== undefined && v !== null){
             var r = this.findRecord(this.valueField || this.displayField, v);
             if(r){