5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-02-15 05:57:30 +03:00

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 <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-09-02 12:50:38 +02:00 committed by Dietmar Maurer
parent 38366597ba
commit b47424198c

View File

@ -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', {