From ebe1167a7c9c4ef79e7366a74d6f77ee130e16b1 Mon Sep 17 00:00:00 2001 From: Kyle Huckins Date: Tue, 1 May 2018 18:28:36 +0000 Subject: [PATCH] lp1759327 Populate Copy Templates Floating Dropdown - Add update watcher and call itemSvc.get_floating_groups within egVolTemplate directive to properly populate dropdown when accessing volcopy editor from local administration. Signed-off-by: Kyle Huckins Signed-off-by: Jeanette Lundgren Signed-off-by: Jason Stephenson --- Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 eb8ac0561f..59ef059d97 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 @@ -2532,7 +2532,13 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore , $scope.age_protect_list = list; }); createSimpleUpdateWatcher('age_protect'); - + + $scope.floating_list = []; + itemSvc.get_floating_groups().then(function(list){ + $scope.floating_list = list; + }); + createSimpleUpdateWatcher('floating'); + createSimpleUpdateWatcher('circulate'); createSimpleUpdateWatcher('holdable'); createSimpleUpdateWatcher('fine_level'); -- 2.11.0