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
This commit is contained in:
phamt 2012-05-22 20:24:41 +00:00
parent 4b2585d5b6
commit 427737b125

View File

@ -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 {