mirror of https://github.com/apache/cloudstack.git
bug 6873: CloudStack UI - Disable Zone action - correct parameter value passed to updateZone API.
This commit is contained in:
parent
66c2deb126
commit
39a73cf174
|
|
@ -559,7 +559,7 @@ function doDisableZone($actionLink, $detailsTab, $midmenuItem1) {
|
|||
.dialog('option', 'buttons', {
|
||||
"Confirm": function() {
|
||||
$(this).dialog("close");
|
||||
var apiCommand = "command=updateZone&id="+id+"&allocationstate=Enabled";
|
||||
var apiCommand = "command=updateZone&id="+id+"&allocationstate=Disabled";
|
||||
doActionToTab(id, $actionLink, apiCommand, $midmenuItem1, $detailsTab);
|
||||
},
|
||||
"Cancel": function() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue