bug 8809: cloudStack UI - Add Template dialog - If "All Zones" is selected, call "listHypervisors&zoneid=-1" instead of "listHypervisors".

This commit is contained in:
Jessica Wang 2011-06-06 17:06:37 -07:00
parent 158807c877
commit bd7752bd62
1 changed files with 1 additions and 1 deletions

View File

@ -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();