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

(-)a/admin/audio_alerts.pl (-1 / +1 lines)
Lines 58-63 if ( $id && $action && $where && $action eq 'move' ) { Link Here
58
    Koha::AudioAlerts->find($id)->move($where);
58
    Koha::AudioAlerts->find($id)->move($where);
59
}
59
}
60
60
61
$template->param( audio_alerts => scalar Koha::AudioAlerts->search() );
61
$template->param( AudioAlerts => 1, audio_alerts => scalar Koha::AudioAlerts->search() );
62
62
63
output_html_with_http_headers $cgi, $cookie, $template->output;
63
output_html_with_http_headers $cgi, $cookie, $template->output;
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc (-2 / +1 lines)
Lines 65-71 Link Here
65
    </script>
65
    </script>
66
[% END %]
66
[% END %]
67
67
68
[% IF Koha.Preference('AudioAlerts') %]
68
[% IF Koha.Preference('AudioAlerts') || AudioAlerts %]
69
    <script type="text/javascript">
69
    <script type="text/javascript">
70
        //<![CDATA[
70
        //<![CDATA[
71
            var AUDIO_ALERT_PATH = '[% interface %]/[% theme %]/sound/';
71
            var AUDIO_ALERT_PATH = '[% interface %]/[% theme %]/sound/';
72
- 

Return to bug 11431