Bug 383576, undeclared variable newval, r=neil
git-svn-id: svn://10.0.0.236/trunk@227814 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -413,7 +413,7 @@
|
||||
oldval = this.second;
|
||||
}
|
||||
|
||||
newval = this._constrainValue(field, oldval + change, false);
|
||||
var newval = this._constrainValue(field, oldval + change, false);
|
||||
|
||||
if (field == this.hourField)
|
||||
this.hour = newval;
|
||||
@@ -677,7 +677,7 @@
|
||||
else if (field == this.dateField)
|
||||
oldval = this.date;
|
||||
|
||||
newval = this._constrainValue(field, oldval + aDir, false);
|
||||
var newval = this._constrainValue(field, oldval + aDir, false);
|
||||
|
||||
if (field == this.yearField)
|
||||
this.year = newval;
|
||||
|
||||
Reference in New Issue
Block a user