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 64-70 Link Here
64
    </script>
64
    </script>
65
[% END %]
65
[% END %]
66
66
67
[% IF Koha.Preference('AudioAlerts') %]
67
[% IF Koha.Preference('AudioAlerts') || AudioAlerts %]
68
    <script type="text/javascript">
68
    <script type="text/javascript">
69
        //<![CDATA[
69
        //<![CDATA[
70
            var AUDIO_ALERT_PATH = '[% interface %]/[% theme %]/sound/';
70
            var AUDIO_ALERT_PATH = '[% interface %]/[% theme %]/sound/';
71
- 

Return to bug 11431