]> git.wh0rd.org - tt-rss.git/commitdiff
label editor: helper bugfix
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 7 Aug 2008 08:07:28 +0000 (09:07 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 7 Aug 2008 08:07:28 +0000 (09:07 +0100)
functions.js

index 61eb83d9572a531235a27c1a6f60fa9563ed411f..7f9f1d21e352074278db64338974af997aeb3eaf 100644 (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;
                                }