This issue was reported to me by Steve Callender. The menu entries
under "Other -> Booking" had all stopped working.
There's a catalog of URL constants under window.urls sometimes, and
formerly (or other times?) at xulG.urls for XUL-based staff client
interfaces. There's a new-tab-opening method that needed to be more
flexible when looking for that catalog.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
var loc = xulG.url_prefix(url);
if (wrap_in_browser) {
- loc = xulG.urls.XUL_BROWSER + "?url=" + window.escape(loc);
+ var urls = xulG.urls || window.urls;
+ loc = urls.XUL_BROWSER + "?url=" + window.escape(loc);
content_params = dojo.mixin(
{
"no_xulG": false, "show_print_button": true,