From: Wolfram Schneider Date: Tue, 14 Jan 2014 10:16:49 +0000 (+0000) Subject: jquery.isNumeric() requires a jquery 1.7, backport the isNumeric() check to support... X-Git-Tag: 1.0.0~1695 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;ds=sidebyside;h=4ca8264f4988a550a9759ffe6bc44571ff6ff1c3;p=mkws-moved-to-github.git jquery.isNumeric() requires a jquery 1.7, backport the isNumeric() check to support jquery 1.4 --- diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index e3ca0e1..2c9b89f 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -258,7 +258,7 @@ var SourceMax = 16; var SubjectMax = 10; var AuthorMax = 10; -if ($.isNumeric(mkws_config.perpage_default)) { +if (!isNaN(parseInt(mkws_config.perpage_default))) { recPerPage = parseInt(mkws_config.perpage_default); }