From bd7752bd6264a0431f0391da90df05ad94f7df8f Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Mon, 6 Jun 2011 17:06:37 -0700 Subject: [PATCH] bug 8809: cloudStack UI - Add Template dialog - If "All Zones" is selected, call "listHypervisors&zoneid=-1" instead of "listHypervisors". --- ui/scripts/cloud.core.template.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/cloud.core.template.js b/ui/scripts/cloud.core.template.js index 943cfe08770..f3e805da04d 100644 --- a/ui/scripts/cloud.core.template.js +++ b/ui/scripts/cloud.core.template.js @@ -190,7 +190,7 @@ function afterLoadTemplateJSP() { var strCmd; if($(this).val() == -1) - strCmd = "command=listHypervisors"; + strCmd = "command=listHypervisors&zoneid=-1"; else strCmd = "command=listHypervisors&zoneid="+$(this).val();