[open-ils-commits] r18378 - branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Oct 18 12:19:11 EDT 2010


Author: phasefx
Date: 2010-10-18 12:19:08 -0400 (Mon, 18 Oct 2010)
New Revision: 18378

Modified:
   branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main/menu.js
Log:
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

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main/menu.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main/menu.js	2010-10-18 16:18:40 UTC (rev 18377)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main/menu.js	2010-10-18 16:19:08 UTC (rev 18378)
@@ -501,7 +501,8 @@
             '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');
                 }
             ],
 



More information about the open-ils-commits mailing list