diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index 6870f5b45c6..4d536e33929 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -1709,7 +1709,7 @@ break; } } - if (ostypeName == undefined || ostypeName.indexOf("win") == -1) { + if (ostypeName == undefined || ostypeName.indexOf("Win") == -1) { hiddenFields.push('xenserverToolsVersion61plus'); } } diff --git a/ui/scripts/templates.js b/ui/scripts/templates.js index cef6a2a2c9e..dbc60b082ab 100644 --- a/ui/scripts/templates.js +++ b/ui/scripts/templates.js @@ -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'); } }