From: Dominik Csapak Date: Fri, 2 Sep 2016 10:50:38 +0000 (+0200) Subject: set the first tab of a page active X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=commitdiff_plain;h=b47424198c6da0c5876f7aa917ff55da091b0a5f set the first tab of a page active else no tab would be selected by default, but the first would still be shown, leading to confusion which tab is active Signed-off-by: Dominik Csapak --- diff --git a/api-viewer/PVEAPI.js b/api-viewer/PVEAPI.js index 47dbe88..a27d6c4 100644 --- a/api-viewer/PVEAPI.js +++ b/api-viewer/PVEAPI.js @@ -239,6 +239,7 @@ Ext.onReady(function() { ct.setTitle("Path: " + data.path); ct.removeAll(true); ct.add(items); + ct.setActiveTab(0); }; var tree = Ext.create('Ext.tree.Panel', {