From 0b08a005dbdf967fdf90e356307b31515c8a32d0 Mon Sep 17 00:00:00 2001 From: phamt Date: Tue, 22 May 2012 20:25:31 +0000 Subject: [PATCH] Accept no value for IP or hostname git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12879 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 {