Updated Branches: refs/heads/4.3-forward 1283919f0 -> 40d069a6e
Disable root disk size field -- not supported in backend Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/40d069a6 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/40d069a6 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/40d069a6 Branch: refs/heads/4.3-forward Commit: 40d069a6e4ee058515f625f6e76d56d986a4a9d9 Parents: 1283919 Author: Brian Federle <[email protected]> Authored: Fri Jan 24 10:47:26 2014 -0800 Committer: Brian Federle <[email protected]> Committed: Thu Feb 13 15:39:03 2014 -0800 ---------------------------------------------------------------------- ui/scripts/instanceWizard.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/40d069a6/ui/scripts/instanceWizard.js ---------------------------------------------------------------------- diff --git a/ui/scripts/instanceWizard.js b/ui/scripts/instanceWizard.js index 646ffbf..4a740c6 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'
