]> git.evergreen-ils.org Git - working/Evergreen.git/commit
create a sound timer/queue in menu_frame that gets inherited by child interfaces...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 26 Apr 2010 03:54:04 +0000 (03:54 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 26 Apr 2010 03:54:04 +0000 (03:54 +0000)
commitd73eacfaa078b0781f0324ac1dedbf09b66cedad
treef76f181c722a3417998c06f9f731aa133c5eeacc
parent17c5479561b8a726a48538e1a64d4f2794060dba
create a sound timer/queue in menu_frame that gets inherited by child interfaces, and don't let it grab the one from data.xul

if we try to share xulG._sound from window 1 with window 2, and window 1 is destroyed, the sound object no longer works correctly (it loses reference to the 'urls' variable and cannot find the sounds to play).  May try a common sound file from data.xul later.  As it is now, sound behavior between window 1 and window 2 is slightly different with fancy prompt on my workstation.  In window 2, a sound queued before fancy prompt starts to play before the popup and then gets clipped.  In window 1, the fancy prompt sound obj takes over the queue and plays the sound without clipping

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16294 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/xul/staff_client/chrome/content/main/menu.js
Open-ILS/xul/staff_client/server/main/data.xul