[open-ils-commits] r16965 - in trunk/Open-ILS/xul/staff_client: chrome/content/main server/OpenILS (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Jul 16 14:28:31 EDT 2010
Author: phasefx
Date: 2010-07-16 14:28:27 -0400 (Fri, 16 Jul 2010)
New Revision: 16965
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
trunk/Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul
Log:
get rid of the chrome instantiated sound object so it's every interface for itself, and have remote xul load server/skin/custom.js instead of chrome
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js 2010-07-16 15:53:14 UTC (rev 16964)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js 2010-07-16 18:28:27 UTC (rev 16965)
@@ -10,7 +10,6 @@
offlineStrings = document.getElementById('offlineStrings');
JSAN.use('util.error'); this.error = new util.error();
JSAN.use('util.window'); this.window = new util.window();
- JSAN.use('util.sound'); this.sound = new util.sound({'interval':500,'sig':'menu_constructor'});
JSAN.use('OpenILS.data'); this.data = new OpenILS.data(); this.data.init({'via':'stash'});
this.w = window;
@@ -155,7 +154,7 @@
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
mframe.xulG = xulG;
/* This window should get its own objects for these */
- delete mframe.xulG['_sound']; delete mframe.xulG['_data'];
+ delete mframe.xulG['_data'];
}
],
'cmd_new_tab' : [
@@ -1606,7 +1605,6 @@
if (e) { e.setAttribute('label',text); }
};
content_params.chrome_xulG = xulG;
- content_params._sound = xulG._sound;
content_params._data = xulG._data;
return content_params;
Modified: trunk/Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul 2010-07-16 15:53:14 UTC (rev 16964)
+++ trunk/Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul 2010-07-16 18:28:27 UTC (rev 16965)
@@ -60,6 +60,7 @@
<button label="js2JSON" oncommand="try { var dtb = document.getElementById('debug_tb'); alert( js2JSON( eval( dtb.value ) ) ); } catch(E) { alert(E); }; dtb.focus();"/>
</hbox>
<keyset><key id="debug_box_key" keycode="VK_F7" modifiers="control,shift" oncommand="var dtb = document.getElementById('debug_tb'); var dx = document.getElementById('debug_box'); dx.hidden = !dx.hidden; if (!dx.hidden) dtb.focus();"/></keyset>
+ <script type="text/javascript" src="/xul/server/skin/custom.js" />
<script>dump('finished openils_util_overlay\n');</script>
</scripts>
More information about the open-ils-commits
mailing list