PDA

View Full Version : [FIXED][3.0.0] Useless variable in Ext.DatePicker#setValue



azbok
23 Jul 2009, 9:03 AM
I stumbled upon the "var old" line, looks like it can be safely deleted! It could be in the other Ext versions as well, I dunno.



setValue : function(value){
var old = this.value;
this.value = value.clearTime(true);
if(this.el){
this.update(this.value);
}
},

mjlecomte
23 Jul 2009, 9:21 AM
Yeah, that's in 2.2.1 as well for some reason. Marking open. Maybe someone thought to return the old value, dunno.

evant
23 Jul 2009, 6:25 PM
Fixed in SVN.