LP#1946019: copyloc.js change to clear locations on new branch select. collab/Callender/clear_locations_on_branch_select
authorSteven Callender <stevecallender@esilibrary.com>
Mon, 4 Oct 2021 17:20:56 +0000 (13:20 -0400)
committerSteven Callender <stevecallender@esilibrary.com>
Mon, 4 Oct 2021 17:20:56 +0000 (13:20 -0400)
Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
Open-ILS/web/js/ui/default/opac/copyloc.js

index a799fb5..0c55ccd 100644 (file)
@@ -67,6 +67,7 @@ function render_adv_copy_locations_new(locations) {
     var sel = dojo.byId('adv_copy_location_selector_new');
     if(sel)
     {
+    dojo.empty(sel);
     var cgi = new openils.CGI();
 
     // collect any location values from the URL to re-populate the list