mirror of https://github.com/apache/cloudstack.git
bug 7654 - resource page - add primary storage - skip calling listPods when zone field is empty.
This commit is contained in:
parent
30f6f1088c
commit
b97c6a6ed2
|
|
@ -1542,6 +1542,8 @@ function initAddPrimaryStorageShortcut($midmenuAddLink2, currentPageInRightPanel
|
|||
|
||||
$dialogAddPool.find("#zone_dropdown").bind("change", function(event) {
|
||||
var zoneId = $(this).val();
|
||||
if(zoneId == null)
|
||||
return;
|
||||
$.ajax({
|
||||
data: createURL("command=listPods&zoneId="+zoneId),
|
||||
dataType: "json",
|
||||
|
|
|
|||
Loading…
Reference in New Issue