summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-08-07 09:07:28 +0100
committerAndrew Dolgov <[email protected]>2008-08-07 09:07:28 +0100
commite176b01ade29842d602eb8d1f362807f74ab6019 (patch)
tree139df6244f610b087dfc21dbc0a788d2f9e738e0 /functions.js
parent071ec48fd1ec17646d1879bda73489d60fede1c2 (diff)
label editor: helper bugfix
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.js b/functions.js
index 61eb83d95..7f9f1d21e 100644
--- a/functions.js
+++ b/functions.js
@@ -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;
}