From: Andrew Dolgov Date: Thu, 7 Aug 2008 08:07:28 +0000 (+0100) Subject: label editor: helper bugfix X-Git-Tag: 1.2.26~27 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e176b01ade29842d602eb8d1f362807f74ab6019;p=tt-rss.git label editor: helper bugfix --- diff --git a/functions.js b/functions.js index 61eb83d9..7f9f1d21 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; }