diff --git a/xCAT-UI/js/custom/zvmUtils.js b/xCAT-UI/js/custom/zvmUtils.js index a21232434..2a42d7125 100644 --- a/xCAT-UI/js/custom/zvmUtils.js +++ b/xCAT-UI/js/custom/zvmUtils.js @@ -1819,14 +1819,17 @@ function loadDiskPoolTable(data) { // Resource tab ID var tabID = 'zvmResourceTab'; + var info = $('#' + tabID).find('.ui-state-highlight'); + // If there is no info bar + if (!info.length) { + // Create info bar + info = createInfoBar('Below are disks and networks found by the hardware control point. It shows disk pools defined in the EXTENT CONTROL file and LANs|VSWITCHes available to use.'); + $('#' + tabID).append(info); + } // Get datatable var dTable = getDiskDataTable(); if (!dTable) { - // Create info bar - var info = createInfoBar('Shows DASD volume pools defined in the EXTENT CONTROL file.'); - $('#' + tabID).append(info); - // Create disks section var fieldSet = $('
'); var legend = $('Disks'); @@ -1877,14 +1880,17 @@ function loadNetworkTable(data) { // Resource tab ID var tabID = 'zvmResourceTab'; + var info = $('#' + tabID).find('.ui-state-highlight'); + // If there is no info bar + if (!info.length) { + // Create info bar + info = createInfoBar('Below are disks and networks found by the hardware control point. It shows disk pools defined in the EXTENT CONTROL file and LANs|VSWITCHes available to use.'); + $('#' + tabID).append(info); + } // Get datatable var dTable = getNetworkDataTable(); - if (!dTable) { - // Create info bar - var info = createInfoBar('Shows LANs and VSWITCHes found by a given zHCP.'); - $('#' + tabID).append(info); - + if (!dTable) { // Create networks section var fieldSet = $('
'); var legend = $('Networks'); diff --git a/xCAT-UI/js/nodes/nodeset.js b/xCAT-UI/js/nodes/nodeset.js index 7f35f5a48..d9129b935 100644 --- a/xCAT-UI/js/nodes/nodeset.js +++ b/xCAT-UI/js/nodes/nodeset.js @@ -128,7 +128,13 @@ function loadNodesetPage(tgtNodes) { position: "center right", offset: [-2, 10], effect: "fade", - opacity: 0.7 + opacity: 0.7, + events : { + def : "mouseover,mouseout", + input : "mouseover,mouseout", + widget : "focus mouseover,blur mouseout", + tooltip : "mouseover,mouseout" + } }); /** diff --git a/xCAT-UI/js/nodes/rnetboot.js b/xCAT-UI/js/nodes/rnetboot.js index 6bfd536e8..34631d887 100644 --- a/xCAT-UI/js/nodes/rnetboot.js +++ b/xCAT-UI/js/nodes/rnetboot.js @@ -103,7 +103,13 @@ function loadNetbootPage(tgtNodes) { position: "center right", offset: [-2, 10], effect: "fade", - opacity: 0.7 + opacity: 0.7, + events : { + def : "mouseover,mouseout", + input : "mouseover,mouseout", + widget : "focus mouseover,blur mouseout", + tooltip : "mouseover,mouseout" + } }); /** diff --git a/xCAT-UI/js/nodes/updatenode.js b/xCAT-UI/js/nodes/updatenode.js index 1839628e3..5dbe5f9a2 100644 --- a/xCAT-UI/js/nodes/updatenode.js +++ b/xCAT-UI/js/nodes/updatenode.js @@ -203,7 +203,13 @@ function loadUpdatenodePage(tgtNodes) { position: "center right", offset: [-2, 10], effect: "fade", - opacity: 0.7 + opacity: 0.7, + events : { + def : "mouseover,mouseout", + input : "mouseover,mouseout", + widget : "focus mouseover,blur mouseout", + tooltip : "mouseover,mouseout" + } }); /**