[open-ils-commits] r12252 - in trunk/Open-ILS/xul/staff_client/server: admin cat main patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Feb 21 20:05:33 EST 2009
Author: phasefx
Date: 2009-02-21 20:05:32 -0500 (Sat, 21 Feb 2009)
New Revision: 12252
Modified:
trunk/Open-ILS/xul/staff_client/server/admin/offline_manage_xacts.xul
trunk/Open-ILS/xul/staff_client/server/admin/transit_list.xul
trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js
trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul
trunk/Open-ILS/xul/staff_client/server/cat/volume_buckets.xul
trunk/Open-ILS/xul/staff_client/server/main/verify_credentials.xul
trunk/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul
trunk/Open-ILS/xul/staff_client/server/patron/user_buckets.xul
Log:
backporting from staff-client-experiment: make these interfaces subject to font-size adjustments
Modified: trunk/Open-ILS/xul/staff_client/server/admin/offline_manage_xacts.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/admin/offline_manage_xacts.xul 2009-02-22 01:04:40 UTC (rev 12251)
+++ trunk/Open-ILS/xul/staff_client/server/admin/offline_manage_xacts.xul 2009-02-22 01:05:32 UTC (rev 12252)
@@ -20,7 +20,7 @@
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="admin_offline_manage_xacts_win"
- onload="try { my_init(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
Modified: trunk/Open-ILS/xul/staff_client/server/admin/transit_list.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/admin/transit_list.xul 2009-02-22 01:04:40 UTC (rev 12251)
+++ trunk/Open-ILS/xul/staff_client/server/admin/transit_list.xul 2009-02-22 01:05:32 UTC (rev 12252)
@@ -19,7 +19,7 @@
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="admin_transit_list_win"
- onload="try { my_init(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
Modified: trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js 2009-02-22 01:04:40 UTC (rev 12251)
+++ trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js 2009-02-22 01:05:32 UTC (rev 12252)
@@ -79,6 +79,12 @@
function my_init() {
try {
+
+ netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
+ if (typeof JSAN == 'undefined') { throw( $("commonStrings").getString('common.jsan.missing') ); }
+ JSAN.errorLevel = "die"; // none, warn, or die
+ JSAN.addRepository('/xul/server/');
+
// Fake xulG for standalone...
try {
window.xulG.record;
@@ -235,7 +241,6 @@
loadRecord(xml_record);
-
} catch(E) {
alert('FIXME, MARC Editor, my_init: ' + E);
}
Modified: trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul 2009-02-22 01:04:40 UTC (rev 12251)
+++ trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul 2009-02-22 01:05:32 UTC (rev 12252)
@@ -9,15 +9,17 @@
<!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
]>
-<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:xhtml="http://www.w3.org/1999/xhtml" onload="my_init()">
+<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:xhtml="http://www.w3.org/1999/xhtml" onload="try { my_init(); font_helper(); } catch(E) { alert(E); }">
+
+<scripts id="openils_util_scripts"/>
+<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
+
<script src="marcedit.js" type="application/x-javascript; e4x=1"/>
-<script src="/opac/common/js/CGI.js" type="application/x-javascript; e4x=1"/>
-<script src="/opac/common/js/JSON_v1.js" type="application/x-javascript; e4x=1"/>
<messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
<messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
-<messagecatalog id="commonStrings" src="/xul/server/locale/<!--#echo var='locale'-->/common.properties" />
<groupbox flex="0">
<caption label="&staff.cat.marcedit.options.label;"/>
Modified: trunk/Open-ILS/xul/staff_client/server/cat/volume_buckets.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/volume_buckets.xul 2009-02-22 01:04:40 UTC (rev 12251)
+++ trunk/Open-ILS/xul/staff_client/server/cat/volume_buckets.xul 2009-02-22 01:05:32 UTC (rev 12252)
@@ -19,7 +19,7 @@
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="example_template_win"
- onload="try { my_init(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
Modified: trunk/Open-ILS/xul/staff_client/server/main/verify_credentials.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/main/verify_credentials.xul 2009-02-22 01:04:40 UTC (rev 12251)
+++ trunk/Open-ILS/xul/staff_client/server/main/verify_credentials.xul 2009-02-22 01:05:32 UTC (rev 12252)
@@ -18,7 +18,7 @@
<!-- OVERLAYS -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
-<window id="verify_win" onload="try { verify_init(); } catch(E) { alert(E); }"
+<window id="verify_win" onload="try { verify_init(); font_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
Modified: trunk/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul 2009-02-22 01:04:40 UTC (rev 12251)
+++ trunk/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul 2009-02-22 01:05:32 UTC (rev 12252)
@@ -18,7 +18,7 @@
<!-- OVERLAYS -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
-<window id="penalty_win" onload="try { penalty_init(); } catch(E) { alert(E); }"
+<window id="penalty_win" onload="try { penalty_init(); font_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
Modified: trunk/Open-ILS/xul/staff_client/server/patron/user_buckets.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/user_buckets.xul 2009-02-22 01:04:40 UTC (rev 12251)
+++ trunk/Open-ILS/xul/staff_client/server/patron/user_buckets.xul 2009-02-22 01:05:32 UTC (rev 12252)
@@ -19,7 +19,7 @@
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="example_template_win"
- onload="try { my_init(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
More information about the open-ils-commits
mailing list