From: Mike Rylander Date: Mon, 28 Sep 2015 15:33:31 +0000 (-0400) Subject: Add a Save & Exit shortcut to the copy attribute editing pane X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5b4e5441c8d6f182b7d9bea71c879bbca6fd6674;p=working%2FEvergreen.git Add a Save & Exit shortcut to the copy attribute editing pane Signed-off-by: Mike Rylander --- 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 b1a9a43adb..3c396b28ab 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); }