wrap this interface in util.browser
authorJason Etheridge <jason@esilibrary.com>
Fri, 18 Mar 2011 18:32:27 +0000 (14:32 -0400)
committerJason Etheridge <jason@esilibrary.com>
Fri, 18 Mar 2011 18:32:27 +0000 (14:32 -0400)
Open-ILS/xul/staff_client/chrome/content/cat/opac.js

index eb39770..2208114 100644 (file)
@@ -844,8 +844,11 @@ function add_volumes() {
 function manage_parts() {
     try {
         var title = document.getElementById('offlineStrings').getFormattedString('staff.cat.manage_parts.title', [docid]);
+        var loc = urls.XUL_BROWSER + "?url=" + window.escape(
+            window.xulG.url_prefix(urls.CONIFY_MANAGE_PARTS) + '?r=' + docid
+        );
         var w = xulG.new_tab(
-            window.xulG.url_prefix(urls.CONIFY_MANAGE_PARTS) + '?r=' + docid,
+            loc,
             { 'tab_name' : title },
             {}
         );