mirror of https://github.com/apache/cloudstack.git
BUG-ID: CS-51756: [UI] Network update to new offering ( with services removed ) pops up forced update confirmation with incorrect functionality
This commit is contained in:
parent
812c56b5e3
commit
6c40ca1132
|
|
@ -966,14 +966,14 @@
|
|||
cloudStack.dialog.confirm({
|
||||
message: 'message.confirm.current.guest.CIDR.unchanged',
|
||||
action: function() { //"Yes" button is clicked
|
||||
getForcedInfoAndUpdateNetwork(data);
|
||||
getForcedInfoAndUpdateNetwork(data, args);
|
||||
},
|
||||
cancelAction: function() { //"Cancel" button is clicked
|
||||
$.extend(data, {
|
||||
changecidr: true
|
||||
});
|
||||
|
||||
getForcedInfoAndUpdateNetwork(data);
|
||||
getForcedInfoAndUpdateNetwork(data, args);
|
||||
}
|
||||
});
|
||||
return;
|
||||
|
|
@ -6465,7 +6465,7 @@
|
|||
return data;
|
||||
}
|
||||
|
||||
function getForcedInfoAndUpdateNetwork(data) {
|
||||
function getForcedInfoAndUpdateNetwork(data, args) {
|
||||
if (isAdmin()) {
|
||||
cloudStack.dialog.confirm({
|
||||
message: "message.confirm.force.update",
|
||||
|
|
|
|||
Loading…
Reference in New Issue