');
- dasdLink = $('' + args[1] + '');
+ dasdLink = $('' + args[1] + '');
// Append context menu to link
dasdLink.contextMenu(contextMenu, {
@@ -659,7 +659,7 @@ zvmPlugin.prototype.loadInventory = function(data) {
/**
* Add disk
*/
- var addDasdLink = $('Add disk');
+ var addDasdLink = $('Add disk');
addDasdLink.bind('click', function(event) {
var hcp = attrs['hcp'][0].split('.');
openAddDiskDialog(node, hcp[0]);
@@ -720,7 +720,7 @@ zvmPlugin.prototype.loadInventory = function(data) {
// Get NIC virtual device, type, port name, and number of devices
nicVDev = $('
');
- nicLink = $('' + args[1] + '');
+ nicLink = $('' + args[1] + '');
// Append context menu to link
nicLink.contextMenu(contextMenu, {
@@ -754,7 +754,7 @@ zvmPlugin.prototype.loadInventory = function(data) {
/**
* Add NIC
*/
- var addNicLink = $('Add NIC');
+ var addNicLink = $('Add NIC');
addNicLink.bind('click', function(event) {
var hcp = attrs['hcp'][0].split('.');
openAddNicDialog(node, hcp[0]);
@@ -1080,7 +1080,7 @@ zvmPlugin.prototype.addNode = function() {
var node = args[1].replace('node=', '');
// If there was an error, do not continue
- if (rsp.length) {s
+ if (rsp.length) {
openDialog('warn', '(Error) Failed to create node definition');
} else {
openDialog('info', 'Node definitions created for ' + node);
diff --git a/xCAT-UI/js/custom/zvmUtils.js b/xCAT-UI/js/custom/zvmUtils.js
index 0654b520e..1b4d86e7c 100644
--- a/xCAT-UI/js/custom/zvmUtils.js
+++ b/xCAT-UI/js/custom/zvmUtils.js
@@ -2136,7 +2136,7 @@ function createZProvisionNew(inst) {
/**
* Add disks
*/
- var addDiskLink = $('Add disk');
+ var addDiskLink = $('Add disk');
addDiskLink.bind('click', function(event) {
// Create a row
var diskRow = $('
');
diff --git a/xCAT-UI/js/nodes/nodes.js b/xCAT-UI/js/nodes/nodes.js
index 6b2a9ab34..f2baf4cb2 100644
--- a/xCAT-UI/js/nodes/nodes.js
+++ b/xCAT-UI/js/nodes/nodes.js
@@ -108,7 +108,7 @@ function loadGroups(data) {
// Create a link for each group
for ( var i = groups.length; i--;) {
var subItem = $('');
- var link = $('' + groups[i] + '');
+ var link = $('' + groups[i] + '');
subItem.append(link);
subUL.append(subItem);
}
@@ -152,7 +152,7 @@ function loadGroups(data) {
});
// Create link to add nodes
- var addNodeLink = $('Add node');
+ var addNodeLink = $('Add node');
addNodeLink.bind('click', function(event) {
var info = createInfoBar('Select the hardware management for the new node range');
var addNodeForm = $('');
@@ -262,8 +262,8 @@ function loadNodes(data) {
// Add column for check box, node, ping, and power
sorted.unshift('', 'node',
- 'ping',
- 'power');
+ 'ping',
+ 'power');
// Create a datatable
var dTable = new DataTable('nodesDataTable');
@@ -276,7 +276,7 @@ function loadNodes(data) {
// Create a check box
var checkBx = '';
// Open node onclick
- var nodeLink = $('' + node + '').bind('click', loadNode);
+ var nodeLink = $('' + node + '').bind('click', loadNode);
row.push(checkBx, nodeLink, '', '');
// Go through each header
@@ -309,12 +309,12 @@ function loadNodes(data) {
/*
* Power
*/
- var powerLnk = $('Power');
+ var powerLnk = $('Power');
/*
* Power on
*/
- var powerOnLnk = $('Power on');
+ var powerOnLnk = $('Power on');
powerOnLnk.bind('click', function(event) {
var tgtNodes = getNodesChecked('nodesDataTable');
if (tgtNodes) {
@@ -325,7 +325,7 @@ function loadNodes(data) {
/*
* Power off
*/
- var powerOffLnk = $('Power off');
+ var powerOffLnk = $('Power off');
powerOffLnk.bind('click', function(event) {
var tgtNodes = getNodesChecked('nodesDataTable');
if (tgtNodes) {
@@ -336,7 +336,7 @@ function loadNodes(data) {
/*
* Clone
*/
- var cloneLnk = $('Clone');
+ var cloneLnk = $('Clone');
cloneLnk.bind('click', function(event) {
var tgtNodes = getNodesChecked('nodesDataTable').split(',');
for ( var i = 0; i < tgtNodes.length; i++) {
@@ -372,7 +372,7 @@ function loadNodes(data) {
/*
* Delete
*/
- var deleteLnk = $('Delete');
+ var deleteLnk = $('Delete');
deleteLnk.bind('click', function(event) {
var tgtNodes = getNodesChecked('nodesDataTable');
if (tgtNodes) {
@@ -383,7 +383,7 @@ function loadNodes(data) {
/*
* Unlock
*/
- var unlockLnk = $('Unlock');
+ var unlockLnk = $('Unlock');
unlockLnk.bind('click', function(event) {
var tgtNodes = getNodesChecked('nodesDataTable');
if (tgtNodes) {
@@ -394,7 +394,7 @@ function loadNodes(data) {
/*
* Run script
*/
- var scriptLnk = $('Run script');
+ var scriptLnk = $('Run script');
scriptLnk.bind('click', function(event) {
var tgtNodes = getNodesChecked('nodesDataTable');
if (tgtNodes) {
@@ -405,7 +405,7 @@ function loadNodes(data) {
/*
* Update node
*/
- var updateLnk = $('Update');
+ var updateLnk = $('Update');
updateLnk.bind('click', function(event) {
var tgtNodes = getNodesChecked('nodesDataTable');
if (tgtNodes) {
@@ -416,7 +416,7 @@ function loadNodes(data) {
/*
* Set boot state
*/
- var setBootStateLnk = $('Set boot state');
+ var setBootStateLnk = $('Set boot state');
setBootStateLnk.bind('click', function(event) {
var tgtNodes = getNodesChecked('nodesDataTable');
if (tgtNodes) {
@@ -428,7 +428,7 @@ function loadNodes(data) {
/*
* Boot to network
*/
- var boot2NetworkLnk = $('Boot to network');
+ var boot2NetworkLnk = $('Boot to network');
boot2NetworkLnk.bind('click', function(event) {
var tgtNodes = getNodesChecked('nodesDataTable');
if (tgtNodes) {
@@ -439,7 +439,7 @@ function loadNodes(data) {
/*
* Open the Rcons page
*/
- var rcons = $('Open Rcons');
+ var rcons = $('Open Rcons');
rcons.bind('click', function(event){
var tgtNodes = getNodesChecked('nodesDataTable');
if (tgtNodes) {
@@ -450,7 +450,7 @@ function loadNodes(data) {
/*
* Advanced
*/
- var advancedLnk = $('Advanced');
+ var advancedLnk = $('Advanced');
// Power actions
var powerActions = [ powerOnLnk, powerOffLnk ];