From: phasefx Date: Fri, 16 Jul 2010 18:28:27 +0000 (+0000) Subject: get rid of the chrome instantiated sound object so it's every interface for itself... X-Git-Tag: kcls-grey-screen-prod1~1409 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bf5b8ec53deb0e4a78a4239fa04c9c519963923c;p=evergreen%2Fequinox.git 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 git-svn-id: svn://svn.open-ils.org/ILS/trunk@16965 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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 9c9282f4ee..bcda2645f1 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -10,7 +10,6 @@ main.menu = function () { 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 @@ main.menu.prototype = { 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 @@ main.menu.prototype = { if (e) { e.setAttribute('label',text); } }; content_params.chrome_xulG = xulG; - content_params._sound = xulG._sound; content_params._data = xulG._data; return content_params; diff --git a/Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul b/Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul index eb38d43e77..c5b669ea07 100644 --- a/Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul +++ b/Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul @@ -60,6 +60,7 @@