mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
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…
x
Reference in New Issue
Block a user