From 1b8c205b7d45b78a5eee0715ad89cb21857436dc Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Mon, 28 Sep 2015 11:33:31 -0400 Subject: [PATCH] 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 --- Open-ILS/src/templates/staff/cat/volcopy/t_edit.tt2 | 2 ++ Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js | 5 +++++ 2 files changed, 7 insertions(+) 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); } -- 2.11.0