Bugzilla – Attachment 61374 Details for
Bug 12283
Set autocomplete=off for patron search input
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12283: Disable autocomplete for patron search inputs
Bug-12283-Disable-autocomplete-for-patron-search-i.patch (text/plain), 3.95 KB, created by
Olli-Antti Kivilahti
on 2017-03-21 12:04:35 UTC
(
hide
)
Description:
Bug 12283: Disable autocomplete for patron search inputs
Filename:
MIME Type:
Creator:
Olli-Antti Kivilahti
Created:
2017-03-21 12:04:35 UTC
Size:
3.95 KB
patch
obsolete
>From 11e095470c39647990383cae8c7eb7cd159fd44d Mon Sep 17 00:00:00 2001 >From: Pasi Kallinen <pasi.kallinen@pttk.fi> >Date: Mon, 26 May 2014 12:55:51 +0300 >Subject: [PATCH] Bug 12283: Disable autocomplete for patron search inputs > >--- > koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc >index 46d8b45..3edf27e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc >@@ -15,7 +15,7 @@ > <div id="patron_search" class="residentsearch"> > <p class="tip">Enter patron card number or partial name:</p> > <form action="/cgi-bin/koha/members/member.pl" method="post"> >- <input name="member" id="searchmember" size="40" type="text"/> >+ <input name="member" id="searchmember" size="40" type="text" autocomplete="off" /> > <input value="Submit" class="submit" type="submit" /> > </form> > </div>[% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc >index 87f1969..d001b5b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc >@@ -36,7 +36,7 @@ $(document).ready(function(){ > [% END %] > </div> > [% ELSE %] >- <input id="findborrower" name="findborrower" size="40" class="focus" type="text" /> >+ <input id="findborrower" name="findborrower" size="40" class="focus" type="text" autocomplete="off" /> > <input name="branch" value="[% branch %]" type="hidden" /> > <input name="printer" value="" type="hidden" /> > [% IF ( stickyduedate ) %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >index 7bec415..843fc76 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -5,7 +5,7 @@ > <div id="patron_search" class="residentsearch"> > <p class="tip">Enter patron card number or partial name:</p> > <form action="/cgi-bin/koha/members/member.pl" method="post"> >- <input id="searchmember" data-toggle="tooltip" size="25" class="focus" name="member" type="text" value="[% member %]"/> >+ <input id="searchmember" data-toggle="tooltip" size="25" class="focus" name="member" type="text" value="[% member %]" autocomplete="off" /> > <span class="filteraction" id="filteraction_off"> <a href="#" onclick="$('#filters').toggle();$('.filteraction').toggle();">[-]</a></span> > <span class="filteraction" id="filteraction_on"> <a href="#" onclick="$('#filters').toggle();$('.filteraction').toggle();">[+]</a></span> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >index cafc072..5a1bbea 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -212,7 +212,7 @@ function checkMultiHold() { > <fieldset class="brief"> > <label for="patron">Patron: </label> > <div class="hint">Enter patron card number or partial name:</div> >- <input type="text" size="40" id="patron" class="focus" name="findborrower" /> >+ <input type="text" size="40" id="patron" class="focus" name="findborrower" autocomplete="off" /> > <input type="submit" value="Search" /> > <input type="hidden" name="biblionumber" value="[% biblionumber %]" /> > </fieldset> >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12283
:
61374
|
80753
|
84441
|
84444