From: Mike Risher Date: Thu, 16 Jan 2020 21:34:08 +0000 (+0000) Subject: lp1713164 copy editor saving without call number X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ae07348e58c9a25432316c69b86cfa0e4d28cf62;p=working%2FEvergreen.git 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 --- 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;