Bug 10444 - In advanced search(more), [+] and [-] should behave like links on hover

This patch add href="#" to the [+] and [-] links for adding and removing
search terms. It also defines its style so it doesn't show underlined.

To test:
- Browse your OPAC to "Advanced Search" and then "More options".
- The [+] and [-] don't change the cursor on hover
- Apply the patch, reload and see the cursor changes
- Functionality should remain unchanged

Regards
To+

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Tomas Cohen Arazi 2013-06-11 09:54:13 -03:00 committed by Galen Charlton
parent cab50698f5
commit 5b53b59fe4
2 changed files with 6 additions and 2 deletions

View File

@ -30,6 +30,10 @@ body {
color : #C00;
}
a.ButtonPlus, a.ButtonLess {
text-decoration : none;
}
caption {
font-size : 140%;
font-weight : bold;

View File

@ -125,8 +125,8 @@
[% IF ( expanded_options ) %]
<!-- [% IF ( search_box.scan_index ) %]<input type="checkbox" name="scan" id="scan" value="1" /> Scan Indexes[% END %] -->
[% IF ( !loop.first ) %]
<a class="ButtonPlus" name="ButtonPlus" title="Add another field">[+]</a>
<a class="ButtonLess" title="Remove field">[-]</a>
<a class="ButtonPlus" name="ButtonPlus" title="Add another field" href="#">[+]</a>
<a class="ButtonLess" title="Remove field" href="#">[-]</a>
[% END %]
[% END %]
</p>