Bugzilla – Attachment 34079 Details for
Bug 7741
Clear search terms in Z3950 search page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Clear z39.50 Search Fields
clear_z3950_search_fields.patch (text/plain), 1.56 KB, created by
Tom Misilo
on 2014-12-03 01:19:31 UTC
(
hide
)
Description:
Clear z39.50 Search Fields
Filename:
MIME Type:
Creator:
Tom Misilo
Created:
2014-12-03 01:19:31 UTC
Size:
1.56 KB
patch
obsolete
> >From 0abcc35df22eb9a2d98375a52915825af8c82b55 Mon Sep 17 00:00:00 2001 >From: Thomas Misilo <misilot@users.noreply.github.com> >Date: Tue, 2 Dec 2014 20:15:07 -0500 >Subject: [PATCH] Adds support for clearing the Z39.50 Search Fields > >--- > .../intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt >index 26724a1..01dd0e2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt >@@ -58,6 +58,9 @@ $(document).ready(function(){ > } else > return true; > }); >+ $("#resetZ3950Search").click(function() { >+ $("form[name='f']").find("input[type=text]").val(""); >+ }); > }); > > [% IF ( total_pages ) %] >@@ -100,7 +103,7 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : > [% END %] > <div id="bd"> > [% IF ( opsearch ) %] >- <h2>Z39.50 Authority search points</h2> >+ <h2>Z39.50 Authority search points<span style="display: inline; font-size: 70%; padding-left: 1em;"><span class="clearsearch"><a id="resetZ3950Search" href="#">Clear Search Form</a></span></span></h2> > <form method="post" action="z3950_auth_search.pl" name="f" class="checkboxed"> > <input type="hidden" name="op" id="op" value="do_search" /> > <div class="yui-g">
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 7741
:
34079
|
34139
|
34141
|
34248
|
34268
|
34269
|
35941
|
35942