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
This commit is contained in:
phamt 2012-05-22 20:25:31 +00:00
parent a973a2c72a
commit 0b08a005db

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 {