From 60c2eb3b9137c7b07c1bdbb7c1cbd1ab598d0b5e Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Mon, 11 Jul 2016 11:59:06 -0400 Subject: [PATCH] change to delete to remove, since JS uses delete Signed-off-by: Jason Etheridge --- Open-ILS/src/templates/staff/admin/actor/org_unit/t_main_tab.tt2 | 2 +- Open-ILS/web/js/ui/default/staff/admin/actor/org_unit/app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/staff/admin/actor/org_unit/t_main_tab.tt2 b/Open-ILS/src/templates/staff/admin/actor/org_unit/t_main_tab.tt2 index 95c42b81ce..1d2e805cba 100644 --- a/Open-ILS/src/templates/staff/admin/actor/org_unit/t_main_tab.tt2 +++ b/Open-ILS/src/templates/staff/admin/actor/org_unit/t_main_tab.tt2 @@ -50,7 +50,7 @@
- +
diff --git a/Open-ILS/web/js/ui/default/staff/admin/actor/org_unit/app.js b/Open-ILS/web/js/ui/default/staff/admin/actor/org_unit/app.js index ce358de428..c5b34a78d4 100644 --- a/Open-ILS/web/js/ui/default/staff/admin/actor/org_unit/app.js +++ b/Open-ILS/web/js/ui/default/staff/admin/actor/org_unit/app.js @@ -112,7 +112,7 @@ function($scope , $q , $routeParams , $window , egCore , egOrg , ngToast ) { ); }; - $scope.delete = function() { + $scope.remove = function() { var new_org = egOrg.get($scope.org.id); egCore.pcrud.remove(new_org).then( function(res) { // success -- 2.11.0