mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
fix job templates deletion on edit
This commit is contained in:
@@ -77,7 +77,7 @@ export default
|
|||||||
Rest.setUrl(url);
|
Rest.setUrl(url);
|
||||||
Rest.destroy()
|
Rest.destroy()
|
||||||
.success(function () {
|
.success(function () {
|
||||||
if (parseInt($state.params.template_id) === id) {
|
if (parseInt($state.params.id) === id) {
|
||||||
$state.go("^", null, {reload: true});
|
$state.go("^", null, {reload: true});
|
||||||
} else {
|
} else {
|
||||||
$scope.search(list.iterator);
|
$scope.search(list.iterator);
|
||||||
|
|||||||
Reference in New Issue
Block a user