Bug 14242: (follow-up) Hide autofil when syspref disabled, clear ISBN
Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
9660b61158
commit
bc89b1d6fd
|
|
@ -497,7 +497,7 @@
|
|||
|
||||
[% INCLUDE 'opac-bottom.inc' %]
|
||||
[% BLOCK jsinclude %]
|
||||
[% IF ( Koha.Preference("OPACSuggestionAutoFill") ) %]
|
||||
[% IF ( Koha.Preference("OPACSuggestionAutoFill") != 'no' ) %]
|
||||
[% Asset.js("js/autofill.js") | $raw %]
|
||||
[% END %]
|
||||
[% INCLUDE 'datatables.inc' %]
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@
|
|||
//field.$target.val("");
|
||||
field.$target.trigger('autofill-undo');
|
||||
}
|
||||
$("#isbn").val("");
|
||||
self.$undo.hide();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue