From: Mike Rylander Date: Mon, 28 Sep 2015 15:33:31 +0000 (-0400) Subject: webstaff: Add a Save & Exit shortcut to the copy attribute editing pane X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1b8c205b7d45b78a5eee0715ad89cb21857436dc;p=contrib%2FConifer.git webstaff: Add a Save & Exit shortcut to the copy attribute editing pane Signed-off-by: Mike Rylander Signed-off-by: Galen Charlton Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/src/templates/staff/cat/volcopy/t_edit.tt2 b/Open-ILS/src/templates/staff/cat/volcopy/t_edit.tt2 index 14b46bd428..cb40f2403f 100644 --- a/Open-ILS/src/templates/staff/cat/volcopy/t_edit.tt2 +++ b/Open-ILS/src/templates/staff/cat/volcopy/t_edit.tt2 @@ -103,6 +103,8 @@ + diff --git a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js index 5863f92774..273c0df17e 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js @@ -1315,6 +1315,11 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore , $scope.saveCompletedCopies(false); } + $scope.workingSaveAndExit = function () { + $scope.workingToComplete(); + $scope.saveAndExit(); + } + $scope.saveAndExit = function () { $scope.saveCompletedCopies(true); }