X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2FInput.js;fp=Roo%2Fbootstrap%2FInput.js;h=f5e1ead2fdb2d09cbb412f1d803dc914a1df1644;hb=98fd909b2f0dfff680732c0678723e1daf0e41f3;hp=0d803de91cc5f12a5b045a5e57d497be56b3b20c;hpb=97378147558b00b9627be65ce5c761154fa5e5c4;p=roojs1 diff --git a/Roo/bootstrap/Input.js b/Roo/bootstrap/Input.js index 0d803de91c..f5e1ead2fd 100644 --- a/Roo/bootstrap/Input.js +++ b/Roo/bootstrap/Input.js @@ -745,7 +745,6 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component, { onChange : function(e) { - Roo.log('onChange'); var v = this.getValue(); if(String(v) !== String(this.startValue)){ this.fireEvent('change', this, v, this.startValue); @@ -757,9 +756,7 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component, { * Resets the current field value to the originally loaded value and clears any validation messages */ reset : function(){ - Roo.log('reset'); this.setValue(this.originalValue); - Roo.log(this.startValue); this.validate(); }, /** @@ -819,8 +816,8 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component, { * @param {Mixed} value The value to set */ setValue : function(v){ - Roo.log('setValue'); this.value = v; + this.startValue = v; if(this.rendered){ this.inputEl().dom.value = (v === null || v === undefined ? '' : v); this.validate();