]> git.proxmox.com Git - pve-manager.git/commit
ext6migrate: remove redundant code to set the default active tab
authorEmmanuel Kasper <e.kasper@proxmox.com>
Mon, 30 Nov 2015 14:00:43 +0000 (15:00 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 22 Jan 2016 10:24:21 +0000 (11:24 +0100)
commitcececa1d65cccd86c0d0dcba4f12532ee8de096a
treed2ba7a367da3060e806060cfe0e36aab75a81eef
parentc0b3df6e34f51a247b477df490db5d52eb0d62a0
ext6migrate: remove redundant code to set the default active tab

If the default activeTab is *undefined* and *not* null, activeTab defaults to 0,
so we don't need to set this explicitely.

dug from ExtJS tabPanel:
activeTab = me.activeTab !== null ? (me.activeTab || 0) : null;
www/manager6/panel/ConfigPanel.js