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 496-502 Link Here
496
496
497
[% INCLUDE 'opac-bottom.inc' %]
497
[% INCLUDE 'opac-bottom.inc' %]
498
[% BLOCK jsinclude %]
498
[% BLOCK jsinclude %]
499
[% IF ( Koha.Preference("OPACSuggestionAutoFill") ) %]
499
[% IF ( Koha.Preference("OPACSuggestionAutoFill") != 'no' ) %]
500
    [% Asset.js("js/autofill.js") | $raw %]
500
    [% Asset.js("js/autofill.js") | $raw %]
501
[% END %]
501
[% END %]
502
[% INCLUDE 'datatables.inc' %]
502
[% 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