CLOUDSTACK-7483: UI > instance page, template page > hide "Original XS Version is 6.1+" field when OS Type is not Windows since property jsonObj.details.hypervisortoolsversion only applies to Windows - case sensitive when comparing OS Type.

This commit is contained in:
Jessica Wang 2014-09-03 16:48:58 -07:00
parent 801a98617c
commit 659eafffe1
2 changed files with 3 additions and 3 deletions

View File

@ -1709,7 +1709,7 @@
break;
}
}
if (ostypeName == undefined || ostypeName.indexOf("win") == -1) {
if (ostypeName == undefined || ostypeName.indexOf("Win") == -1) {
hiddenFields.push('xenserverToolsVersion61plus');
}
}

View File

@ -868,7 +868,7 @@
break;
}
}
if (ostypeName == undefined || ostypeName.indexOf("win") == -1) {
if (ostypeName == undefined || ostypeName.indexOf("Win") == -1) {
hiddenFields.push('xenserverToolsVersion61plus');
}
}
@ -1241,7 +1241,7 @@
break;
}
}
if (ostypeName == undefined || ostypeName.indexOf("win") == -1) {
if (ostypeName == undefined || ostypeName.indexOf("Win") == -1) {
hiddenFields.push('xenserverToolsVersion61plus');
}
}