label editor: helper bugfix

This commit is contained in:
Andrew Dolgov 2008-08-07 09:07:28 +01:00
parent 071ec48fd1
commit e176b01ade
1 changed files with 2 additions and 2 deletions

View File

@ -1787,7 +1787,7 @@ function addLabelExample() {
}
if (op == "newerD") {
if (isNaN(parseInt(p))) {
if (isNaN(parseInt(p.value))) {
alert("This action expects numeric parameter.");
return false;
}
@ -1795,7 +1795,7 @@ function addLabelExample() {
}
if (op == "newerH") {
if (isNaN(parseInt(p))) {
if (isNaN(parseInt(p.value))) {
alert("This action expects numeric parameter.");
return false;
}