From ae07348e58c9a25432316c69b86cfa0e4d28cf62 Mon Sep 17 00:00:00 2001 From: Mike Risher Date: Thu, 16 Jan 2020 21:34:08 +0000 Subject: [PATCH] lp1713164 copy editor saving without call number In the volume / copy editor if the user adds a copy without entering a call number they are still able to save. There is no indication that the call number is missing. The save doesn't go through in this case. The task is to fix this bug. Signed-off-by: Mike Risher Changes to be committed: modified: Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js --- Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js | 2 +- 1 file changed, 1 insertion(+), 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 20b819e066..437a25d20a 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 @@ -759,7 +759,7 @@ function(egCore , $q) { $scope.$watch('callNumber.label()', function (v) { $scope.label = v; - if ($scope.label == '') { + if ($scope.label == '' || $scope.label == undefined) { $scope.callNumber.empty_label = $scope.empty_label = true; } else { $scope.callNumber.empty_label = $scope.empty_label = false; -- 2.11.0