From bf5b8ec53deb0e4a78a4239fa04c9c519963923c Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 16 Jul 2010 18:28:27 +0000 Subject: [PATCH] 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 --- Open-ILS/xul/staff_client/chrome/content/main/menu.js | 4 +--- Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) 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 9c9282f4e..bcda2645f 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 eb38d43e7..c5b669ea0 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 @@