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

(-)a/circ/returns.pl (+1 lines)
Lines 913-918 $template->param( Link Here
913
    forgivemanualholdsexpire => $forgivemanualholdsexpire,
913
    forgivemanualholdsexpire => $forgivemanualholdsexpire,
914
    overduecharges           => $overduecharges,
914
    overduecharges           => $overduecharges,
915
    AudioAlerts              => C4::Context->preference("AudioAlerts"),
915
    AudioAlerts              => C4::Context->preference("AudioAlerts"),
916
    debounceInterval         => C4::Context->config('rfid_debounce_interval') // q{},
916
);
917
);
917
918
918
if ($barcode) {
919
if ($barcode) {
(-)a/debian/templates/koha-conf-site.xml.in (+3 lines)
Lines 500-504 __END_SRU_PUBLICSERVER__ Link Here
500
   <parallel_loops_count>1</parallel_loops_count>
500
   <parallel_loops_count>1</parallel_loops_count>
501
 </auto_renew_cronjob>
501
 </auto_renew_cronjob>
502
502
503
 <!-- Interval currently used for batch checkin only -->
504
 <rfid_debounce_interval>500</rfid_debounce_interval>
505
503
</config>
506
</config>
504
</yazgfs>
507
</yazgfs>
(-)a/etc/koha-conf.xml (+3 lines)
Lines 311-315 Link Here
311
   <parallel_loops_count>1</parallel_loops_count>
311
   <parallel_loops_count>1</parallel_loops_count>
312
 </auto_renew_cronjob>
312
 </auto_renew_cronjob>
313
313
314
 <!-- Interval currently used for batch checkin only -->
315
 <rfid_debounce_interval>5000</rfid_debounce_interval>
316
314
</config>
317
</config>
315
</yazgfs>
318
</yazgfs>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-2 / +2 lines)
Lines 1634-1639 Link Here
1634
        [% Asset.js("js/modals/add_catalog_concern.js") | $raw %]
1634
        [% Asset.js("js/modals/add_catalog_concern.js") | $raw %]
1635
    [% END %]
1635
    [% END %]
1636
    <script>
1636
    <script>
1637
        var debounceInterval = '[% debounceInterval %]' || 500;
1637
        function Dopop(link) {
1638
        function Dopop(link) {
1638
            var newin = window.open(link, 'popup', 'width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top');
1639
            var newin = window.open(link, 'popup', 'width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top');
1639
            $("#barcode").focus();
1640
            $("#barcode").focus();
Lines 1975-1981 Link Here
1975
                        isReceivingRFIDInput = false;
1976
                        isReceivingRFIDInput = false;
1976
                        ChangeBatchCheckinSettings();
1977
                        ChangeBatchCheckinSettings();
1977
                        $('#checkin-form').submit();
1978
                        $('#checkin-form').submit();
1978
                    }, 500); // 500ms delay after last input
1979
                    }, debounceInterval); // delay after last input
1979
                }
1980
                }
1980
            });
1981
            });
1981
1982
1982
- 

Return to bug 19814