From 5f63cb40ca75f055f85427e78d9e2348b65b05c4 Mon Sep 17 00:00:00 2001 From: Steve Beaver Date: Thu, 28 Sep 2017 08:47:27 -0400 Subject: Fixed #7889 Increase max number of characters allowed in a tab array to 256 to prevent automatic conversion to pull-down --- src/usr/local/www/guiconfig.inc | 2 +- src/usr/local/www/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/usr/local/www/guiconfig.inc b/src/usr/local/www/guiconfig.inc index ff498d0..1ba85c1 100644 --- a/src/usr/local/www/guiconfig.inc +++ b/src/usr/local/www/guiconfig.inc @@ -1039,7 +1039,7 @@ function display_top_tabs(& $tab_array, $no_drop_down = false, $type = 'pills', } if ($tab_array_char_limit == '') { - $tab_array_char_limit = 92; + $tab_array_char_limit = 256; } foreach ($tab_array as $tab_id => $ta) { diff --git a/src/usr/local/www/index.php b/src/usr/local/www/index.php index d90d788..02925d2 100644 --- a/src/usr/local/www/index.php +++ b/src/usr/local/www/index.php @@ -490,7 +490,7 @@ foreach ($widgets as $widgetkey => $widgetconfig) {