From 763c4df94f2f326c1664cf3513ee642a80485c40 Mon Sep 17 00:00:00 2001 From: phasefx Date: Mon, 18 Oct 2010 16:18:40 +0000 Subject: [PATCH] make Circulation -> Enter Offline Interface open a new window instead of a tab, like the button from the login window. This works around a permission issue with loading the offline receipt templates git-svn-id: svn://svn.open-ils.org/ILS/trunk@18377 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/main/menu.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu.js b/Open-ILS/xul/staff_client/chrome/content/main/menu.js index c882dcc1a..62a25d30a 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -497,7 +497,8 @@ main.menu.prototype = { 'cmd_standalone' : [ ['oncommand'], function() { - obj.set_tab(obj.url_prefix(urls.XUL_STANDALONE),{},{}); + //obj.set_tab(obj.url_prefix(urls.XUL_STANDALONE),{},{}); + window.open(urls.XUL_STANDALONE,'Offline','chrome,resizable'); } ], -- 2.11.0