From db28039e4e8606cb8fdb4a342e5193f1a8a3db36 Mon Sep 17 00:00:00 2001 From: Steve Beaver Date: Tue, 21 Nov 2017 10:22:09 -0500 Subject: [PATCH] Fixed #8112 --- src/usr/local/www/js/pfSense.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/usr/local/www/js/pfSense.js b/src/usr/local/www/js/pfSense.js index ae74fcd5ce..bfae83f016 100644 --- a/src/usr/local/www/js/pfSense.js +++ b/src/usr/local/www/js/pfSense.js @@ -138,8 +138,11 @@ $(function() { if (select.options.length < max) { for (var i=select.options.length; i<=max; i++) select.options.add(new Option(i, i), 0); - // Make sure index 0 is selected otherwise it will stay in "32" for V6 - select.options.selectedIndex = "0"; + + if (isV6) { + // Make sure index 0 is selected otherwise it will stay in "32" for V6 + select.options.selectedIndex = "0"; + } } } });