Use XUL_REMOTE_BROWSER constant in reporter
authorThomas Berezansky <tsbere@mvlc.org>
Fri, 17 Aug 2012 17:00:36 +0000 (13:00 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 17 Aug 2012 17:28:11 +0000 (13:28 -0400)
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/reports/oils_rpt_folder_window.js

index d8532f5..b9d31b3 100644 (file)
@@ -370,7 +370,7 @@ oilsRptFolderWindow.prototype.showOutput = function(sched) {
                        var url = oilsRptBuildOutputLink(r.template(), r.id(), sched.id());
                        _debug("launching report output view at URL: " + url);
                        if(isXUL()) 
-                               xulG.new_tab('/xul/server/util/rbrowser.xul?url=' + url,  /* this comes from urls.XUL_REMOTE_BROWSER */
+                               xulG.new_tab(xulG.url_prefix('XUL_REMOTE_BROWSER?url=') + url,
                                        {tab_name: dojo.string.substitute( rpt_strings.FOLDER_WINDOW_REPORT_OUTPUT, [r.name()] ), browser:false},
                                        {no_xulG:false, show_nav_buttons:true, show_print_button:true});
                        else {