This change causes the picklist, PO, and queue links which appear after
a vendor file upload to open their respective pages with the xul browser
wrapper. Without this, the existing page CSS is ignored and everything,
including href's, are grey and washed out.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
var loc = xulG.url_prefix(url);
if (wrap_in_browser) {
- loc = urls.XUL_BROWSER + "?url=" + window.escape(loc);
+ loc = xulG.urls.XUL_BROWSER + "?url=" + window.escape(loc);
content_params = dojo.mixin(
{
"no_xulG": false, "show_print_button": true,
link.setAttribute('href', url);
} else {
link.setAttribute('href', 'javascript:;'); // for linky-ness
- link.onclick = function() { openils.XUL.newTabEasy(url) };
+ link.onclick = function() { openils.XUL.newTabEasy(url, null, null, true) };
}
}