Project

General

Profile

Bug #19083 ยป 9676.diff

Administrator Admin, 2008-11-07 09:50

View differences:

t3lib/jsfunc.evalfield.js (working copy)
case "n":
if (values.valPol[1]) {
add = this.pol(values.valPol[1],this.parseInt(values.values[1]));
this.lastTime = this.getTimestamp(today);
}
break;
case "+":
case "-":
if (values.valPol[1]) {
add = this.pol(values.valPol[1],this.parseInt(values.values[1]));
this.lastTime = this.getTimestamp(today);
}
break;
default:
......
case "n":
if (values.valPol[1]) {
add = this.pol(values.valPol[1],this.parseInt(values.values[1]));
this.lastYear = this.getYear(today);
}
break;
case "+":
case "-":
if (values.valPol[1]) {
add = this.pol(values.valPol[1],this.parseInt(values.values[1]));
this.lastYear = this.getYear(today);
}
break;
default:
......
case "n":
if (values.valPol[1]) {
add = this.pol(values.valPol[1],this.parseInt(values.values[1]));
this.lastDate = this.getTimestamp(today);
}
break;
case "+":
case "-":
if (values.valPol[1]) {
add = this.pol(values.valPol[1],this.parseInt(values.values[1]));
this.lastDate = this.getTimestamp(today);
}
break;
default:
......
case "n":
if (values.valPol[1]) {
add = this.pol(values.valPol[1],this.parseInt(values.values[1]));
this.lastTime = this.getTime(today);
}
break;
case "+":
case "-":
if (values.valPol[1]) {
add = this.pol(values.valPol[1],this.parseInt(values.values[1]));
this.lastTime = this.getTime(today);
}
break;
default:
    (1-1/1)