From 13bf1ec5da9891eca98ef5dab61bf74b6db9530b Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Fri, 24 Jan 2014 10:47:26 -0800 Subject: [PATCH] Disable root disk size field -- not supported in backend --- ui/scripts/instanceWizard.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/scripts/instanceWizard.js b/ui/scripts/instanceWizard.js index 646ffbf5b19..4a740c6685e 100644 --- a/ui/scripts/instanceWizard.js +++ b/ui/scripts/instanceWizard.js @@ -239,7 +239,11 @@ templates: templatesObj, hypervisors: hypervisorObjs }, - customHidden: function(args) { + customHidden: function(args) { + //// + return true; // Disabled -- not supported in backend right now + //// + if (selectedTemplateOrIso == 'select-template') { return false; //show Root Disk Size field } else { //selectedTemplateOrIso == 'select-iso'