Appends oils://remote to report output view link collab/berick/lp1038147-report-output-view-repair
authorBill Erickson <berick@esilibrary.com>
Fri, 17 Aug 2012 16:14:55 +0000 (12:14 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 17 Aug 2012 16:14:55 +0000 (12:14 -0400)
Required for new-style xul remote URLs

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/reports/oils_rpt_folder_window.js

index d8532f5..e0b10e7 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('oils://remote/xul/server/util/rbrowser.xul?url=' + url,  /* this comes from urls.XUL_REMOTE_BROWSER */
                                        {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 {