Bugzilla – Attachment 17684 Details for
Bug 10115
Hiding advanced search in Orders search tab removes plus button
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10115 - Hiding advanced search in Orders search tab removes plus button
Bug-10115---Hiding-advanced-search-in-Orders-searc.patch (text/plain), 2.46 KB, created by
Owen Leonard
on 2013-04-25 12:55:04 UTC
(
hide
)
Description:
Bug 10115 - Hiding advanced search in Orders search tab removes plus button
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2013-04-25 12:55:04 UTC
Size:
2.46 KB
patch
obsolete
>From 1b92af8cde22b7c2e326f271c5ef4afda6d44f5d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 25 Apr 2013 08:49:51 -0400 >Subject: [PATCH] Bug 10115 - Hiding advanced search in Orders search tab > removes plus button >Content-Type: text/plain; charset="utf-8" > >The logic of the JavaScript for showing and hiding additional options in >the orders search form wasn't quite right, resulting in the +/- control >being hidden incorrectly. > >This patch corrects and simplifies the JS in order to fix the problem. > >To test: > - Open any page in Acquisitions which shows the orders search > form in the header search bar (for instance, Acquisitions home). > - Open the orders search tab and click on the "+" to show more > options. > - Click the "-" to hide the additional options. The additional options > should now be hidden and the "+" displayed. >--- > .../prog/en/includes/acquisitions-search.inc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc >index 5855c78..5aebf54 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc >@@ -14,8 +14,8 @@ > <label for="title">Title: </label> <input type="text" id="title" name="title" size="15" value="[% title %]" /> > <label for="searchsupplier">Vendor:</label> <input type="text" id="searchsupplier" name="name" size="15" value="[% name|html %]" /> > <input type="hidden" id="do_search" name="do_search" value="do" /> >- <span class="filteraction" id="filteraction_off" style="display:none"> <a href="#" onclick="$('#filters').toggle();$('.filteraction').hide();">[-]</a></span> >- <span class="filteraction" id="filteraction_on"> <a href="#" onclick="$('#filters').show();$('.filteraction').toggle();">[+]</a></span> >+ <span class="filteraction" id="filteraction_off" style="display:none"> <a href="#" onclick="$('#filters,.filteraction').toggle();">[-]</a></span> >+ <span class="filteraction" id="filteraction_on"> <a href="#" onclick="$('#filters,.filteraction').toggle();">[+]</a></span> > <input value="Submit" class="submit" type="submit" /> <a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a> > <p id="filters" style="display:none"> > <label for="basket">Basket: </label><input type="text" name="basket" id="basket" /> >-- >1.7.9.5
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 10115
:
17684
|
17687
|
17695