From 427737b125805ab073dec0378b6925c2b3fa664c Mon Sep 17 00:00:00 2001 From: phamt Date: Tue, 22 May 2012 20:24:41 +0000 Subject: [PATCH] Accept no value for IP or hostname git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12878 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/js/custom/zvm.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-UI/js/custom/zvm.js b/xCAT-UI/js/custom/zvm.js index ec48ef6f4..9a6eac09b 100644 --- a/xCAT-UI/js/custom/zvm.js +++ b/xCAT-UI/js/custom/zvm.js @@ -662,7 +662,9 @@ zvmPlugin.prototype.loadClonePage = function(node) { for ( var i = 0; i < inputs.length; i++) { if (!inputs.eq(i).val() && inputs.eq(i).attr('name') != 'diskPw' - && inputs.eq(i).attr('name') != 'diskPool') { + && inputs.eq(i).attr('name') != 'diskPool' + && inputs.eq(i).attr('name') != 'ip' + && inputs.eq(i).attr('name') != 'hostname') { inputs.eq(i).css('border', 'solid #FF0000 1px'); ready = false; } else {