From: pengbo Date: Mon, 28 Aug 2017 00:09:21 +0000 (+0900) Subject: Fix bugs in js/pgconfig.js used for setting pgpool.conf. X-Git-Tag: V3_6_2~3 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=8e919744217efae6d6f71a1a07a681183e79c813;p=pgpooladmin.git Fix bugs in js/pgconfig.js used for setting pgpool.conf. [pgpool-general: 5660] --- diff --git a/js/pgconfig.js b/js/pgconfig.js index 035282f..ab13187 100644 --- a/js/pgconfig.js +++ b/js/pgconfig.js @@ -15,6 +15,9 @@ function toggleTbody(item) if (tagname == 'INPUT' && $(item).attr('type') == 'radio') { val = $(item).filter(':checked').val(); + if (val === undefined) { + return; + } } else if (tagname == 'SELECT') { val = $(item).children('option').filter(':selected').val();