From d3d5480d474c0826f2a2e13483fe983eb5f93b5f Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Fri, 7 Jul 2017 15:10:20 -0400 Subject: [PATCH] serials: Consolidate the Modify/Use buttons in MFHD edit under a top Save button Signed-off-by: Mike Rylander --- Open-ILS/src/templates/staff/share/t_edit_mfhd.tt2 | 4 +--- Open-ILS/web/js/ui/default/staff/serials/directives/mfhd_manager.js | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/templates/staff/share/t_edit_mfhd.tt2 b/Open-ILS/src/templates/staff/share/t_edit_mfhd.tt2 index 807207fab8..633445c2b5 100644 --- a/Open-ILS/src/templates/staff/share/t_edit_mfhd.tt2 +++ b/Open-ILS/src/templates/staff/share/t_edit_mfhd.tt2 @@ -6,11 +6,9 @@ diff --git a/Open-ILS/web/js/ui/default/staff/serials/directives/mfhd_manager.js b/Open-ILS/web/js/ui/default/staff/serials/directives/mfhd_manager.js index 06d6e951f5..c754cf8e38 100644 --- a/Open-ILS/web/js/ui/default/staff/serials/directives/mfhd_manager.js +++ b/Open-ILS/web/js/ui/default/staff/serials/directives/mfhd_manager.js @@ -55,7 +55,7 @@ function($scope , $q , egSerialsCoreSvc , egCore , egGridDataProvider , $scope.focusMe = true; $scope.args = args; $scope.dirty_flag = false; - $scope.ok = function(args) { $uibModalInstance.close(args) } + $scope.ok = function() { $uibModalInstance.close($scope.args) } $scope.cancel = function () { $uibModalInstance.dismiss() } }] }).result.then(function (args) { -- 2.11.0