From: vincent@cubedesigners.com Date: Tue, 19 Jan 2021 18:21:55 +0000 (+0000) Subject: wait #4204 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=16b03edcf8c2e1c905e32a3c319f293c0b7b9d0c;p=cubeextranet.git wait #4204 @0.25 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index 1dbf7266d..b1754ea90 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -1637,8 +1637,12 @@ class wsHTML5Compiler $ids = explode(',', $linkData['to']); foreach ($ids as $id) { $id = trim($id); - $hiddenLinks[] = $id; - $hiddenLinks[] = 'i_' . $id; + if($id==='tabs'){ + $this->config->tabsHiddenAtStartup=true; + }else { + $hiddenLinks[] = $id; + $hiddenLinks[] = 'i_' . $id; + } } } } @@ -1653,7 +1657,6 @@ class wsHTML5Compiler $linkPages = []; $allLinksData = []; - usort($links, array($this, '_sortLinks')); foreach ($links as $linkData) {