Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Commit

Permalink
Delete button state-params fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasia Korobkin committed Jun 30, 2015
1 parent e4b33a5 commit 2534ba3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/javascripts/ng-admin/Crud/button/maDeleteButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ define(function () {
scope.label = scope.label || 'Delete';

scope.gotoDelete = function () {
$state.go($state.get('delete'), angular.extend({
$state.go($state.get('delete'), angular.extend({}, $state.params, {
entity: scope.entity().name(),
id: scope.entry().identifierValue
}, $state.params));
}));
};
},
template:
Expand Down

0 comments on commit 2534ba3

Please sign in to comment.