/** * Global variables */ var provisionTabs; // Provision tabs /** * Set the provision tab * * @param obj * Tab object * @return Nothing */ function setProvisionTab(obj) { provisionTabs = obj; } /** * Get the provision tab * * @param Nothing * @return Tab object */ function getProvisionTab() { return provisionTabs; } /** * Load provision page * * @return Nothing */ function loadProvisionPage() { // If the page is loaded if ($('#content').children().length) { // Do not load again return; } // Create info bar var infoBar = createInfoBar('Provision or re-provision a node on a selected platform'); $('#content').append(infoBar); // Create provision form provForm = $('
'); provForm.append(infoBar); // Create provision tab var tab = new Tab(); setProvisionTab(tab); tab.init(); $('#content').append(tab.object()); // Create radio buttons for platforms var hwList = $('