@@ -, +, @@ Patron not found No patron with this name, please, try another --- .../intranet-tmpl/prog/en/modules/circ/request-article.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt @@ -309,7 +309,7 @@ }); $(document).ready(function() { - [% UNLESS (patron ) %] + if ( $( "#patron" ).size() ){ $( "#patron" ).autocomplete({ source: "/cgi-bin/koha/circ/ysearch.pl", minLength: 3, @@ -328,7 +328,7 @@ item.country + "" ) .appendTo( ul ); }; - [% END %] + } $( ".ar-update-branchcode" ).on('focus', function(){ previous_branchcode = this.value; --