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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-1 / +1 lines)
Lines 497-503 Link Here
497
497
498
[% INCLUDE 'opac-bottom.inc' %]
498
[% INCLUDE 'opac-bottom.inc' %]
499
[% BLOCK jsinclude %]
499
[% BLOCK jsinclude %]
500
[% IF ( Koha.Preference("OPACSuggestionAutoFill") ) %]
500
[% IF ( Koha.Preference("OPACSuggestionAutoFill") != 'no' ) %]
501
    [% Asset.js("js/autofill.js") | $raw %]
501
    [% Asset.js("js/autofill.js") | $raw %]
502
[% END %]
502
[% END %]
503
[% INCLUDE 'datatables.inc' %]
503
[% INCLUDE 'datatables.inc' %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/autofill.js (-1 / +1 lines)
Lines 63-68 Link Here
63
                //field.$target.val("");
63
                //field.$target.val("");
64
                field.$target.trigger('autofill-undo');
64
                field.$target.trigger('autofill-undo');
65
            }
65
            }
66
            $("#isbn").val("");
66
            self.$undo.hide();
67
            self.$undo.hide();
67
        });
68
        });
68
69
69
- 

Return to bug 14242