From: Jason Boyer <jboyer@library.in.gov>
Date: Wed, 16 Jan 2019 17:03:16 +0000 (-0500)
Subject: LP1805856: Open new windows for record operations
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=68ceb66fce739ac5059c93fd4f5e139f2a614a86;p=evergreen%2Fjoelewis.git

LP1805856: Open new windows for record operations

This branch changes the call from $window.location.open
to match other others ($window.open). Testing the 2 z39.50
changes worked as expected!

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
---

diff --git a/Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js b/Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js
index 59a2facaa3..aebfb25165 100644
--- a/Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js
+++ b/Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js
@@ -699,7 +699,7 @@ function($scope,  $q , $routeParams,  bucketSvc,  egCore,  $window,
                     args.lead_id,
                     args.records.map(function(val) { return val.id; })
                 ).then(function() {
-                    $window.location.open(egCore.env.basePath + 'cat/catalog/record/' + args.lead_id);
+                    $window.open(egCore.env.basePath + 'cat/catalog/record/' + args.lead_id);
                 });
             });
         });