View | Details | Raw Unified | Return to bug 11431
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js (-2 / +1 lines)
Lines 122-128 function confirmDelete(message) { Link Here
122
}
122
}
123
123
124
function playSound( sound ) {
124
function playSound( sound ) {
125
    if ( ! ( sound.indexOf('http://') == 0 || sound.indexOf('https://') == 0  ) {
125
    if ( ! ( sound.indexOf('http://') == 0 || sound.indexOf('https://') == 0  ) ) {
126
        sound = AUDIO_ALERT_PATH + sound;
126
        sound = AUDIO_ALERT_PATH + sound;
127
    }
127
    }
128
    document.getElementById("audio-alert").innerHTML = '<audio src="' + sound + '" autoplay="autoplay" autobuffer="autobuffer"></audio>';
128
    document.getElementById("audio-alert").innerHTML = '<audio src="' + sound + '" autoplay="autoplay" autobuffer="autobuffer"></audio>';
129
- 

Return to bug 11431