]> git.proxmox.com Git - pve-docs.git/blobdiff - api-viewer/PVEAPI.js
set the first tab of a page active
[pve-docs.git] / api-viewer / PVEAPI.js
index 47dbe887145fbc8891b8ba541aba57b23cfb9b28..a27d6c41afdc305a2181203ff8a860a59227a45a 100644 (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', {