From: Mike Rylander Date: Wed, 9 Sep 2015 23:51:06 +0000 (-0400) Subject: webstaff: Allow adding vol/copy to an empty bib (or when no vol/lib is selected) X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cb532decc7af7a88d15453fcef7d7d0ab6a31c4c;p=evergreen%2Fmasslnc.git webstaff: Allow adding vol/copy to an empty bib (or when no vol/lib is selected) Signed-off-by: Mike Rylander Signed-off-by: Galen Charlton Signed-off-by: Jason Stephenson --- diff --git a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js index 0fb437e979..9639157011 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js @@ -840,6 +840,8 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e ); } + if (raw.length == 0) raw.push({}); + egCore.net.request( 'open-ils.actor', 'open-ils.actor.anon_cache.set_value',