diff --git a/xCAT-UI/js/custom/zvmUtils.js b/xCAT-UI/js/custom/zvmUtils.js index f615c8133..cbb6c2830 100644 --- a/xCAT-UI/js/custom/zvmUtils.js +++ b/xCAT-UI/js/custom/zvmUtils.js @@ -2050,7 +2050,7 @@ function createZProvisionNew(inst) { // Create group input var group = $('
'); var groupLabel = $(''); - var groupInput = $(''); + var groupInput = $(''); // Get groups on-focus groupInput.one('focus', function(){ var groupNames = $.cookie('Groups'); @@ -2066,19 +2066,19 @@ function createZProvisionNew(inst) { // Create node input var nodeName = $(''); var nodeLabel = $(''); - var nodeInput = $(''); + var nodeInput = $(''); nodeName.append(nodeLabel); nodeName.append(nodeInput); provNew.append(nodeName); // Create user ID input - var userId = $(''); + var userId = $(''); provNew.append(userId); // Create hardware control point input var hcpDiv = $(''); var hcpLabel = $(''); - var hcpInput = $(''); + var hcpInput = $(''); hcpInput.blur(function() { if ($(this).val()) { var args = $(this).val().split('.'); @@ -2105,7 +2105,7 @@ function createZProvisionNew(inst) { // Create operating system image input var os = $(''); var osLabel = $(''); - var osInput = $(''); + var osInput = $(''); // Get image names on focus osInput.one('focus', function(){ var imageNames = $.cookie('ImageNames'); @@ -2217,6 +2217,14 @@ function createZProvisionNew(inst) { diskDiv.append(diskTable); provNew.append(diskDiv); + // Generate tooltips + provNew.find('div input[title]').tooltip({ + position: "center right", // Place tooltip on the right edge + offset: [-2, 10], // A little tweaking of the position + effect: "fade", // Use the built-in fadeIn/fadeOut effect + opacity: 0.7 // Custom opacity setting + }); + /** * Provision new */