Skip to content

Commit

Permalink
Fix missing name of deleted GOD Button/ButtonGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
ZitaNemeckova committed Sep 19, 2019
1 parent a58ce1a commit fe838ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function genericObjectDefinitionToolbarController(API, miqService, $window) {
}

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

0 comments on commit fe838ee

Please sign in to comment.