mirror of https://github.com/apache/cloudstack.git
bug 8809: cloudStack UI - Add Template dialog - If "All Zones" is selected, call "listHypervisors&zoneid=-1" instead of "listHypervisors".
This commit is contained in:
parent
158807c877
commit
bd7752bd62
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue