Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert change from ManageIQ#6214 as it's no longer needed
Browse files Browse the repository at this point in the history
ZitaNemeckova committed Oct 10, 2019
1 parent e79baa4 commit 8672a50
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -70,8 +70,8 @@ function genericObjectDefinitionToolbarController(API, miqService, $window) {
.catch(miqService.handleFailure);
}

function postAction() {
var entityName = toolbar.entityName;
function postAction(response) {
var entityName = response.name;
var saveMsg = sprintf(__('%s: "%s" was successfully deleted'), toolbar.entity, entityName);
if (toolbar.redirectUrl) {
miqService.redirectBack(saveMsg, 'success', toolbar.redirectUrl);

0 comments on commit 8672a50

Please sign in to comment.