Bugzilla – Attachment 1011 Details for
Bug 2981
Misleading interface for selecting patron from circulation search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Style tweaks to change the appearance of the multi-select form element
0005-Possible-fix-for-Bug-2981-Styling-multi-select-as-l.patch (text/plain), 1.84 KB, created by
Chris Cormack
on 2009-02-24 11:05:00 UTC
(
hide
)
Description:
Style tweaks to change the appearance of the multi-select form element
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2009-02-24 11:05:00 UTC
Size:
1.84 KB
patch
obsolete
>From 832df434f7a4d0338e412a8812a4ab8eebf0a9c4 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 24 Feb 2009 13:03:31 -0600 >Subject: [PATCH] Possible fix for Bug 2981: Styling multi-select as links to match behavior >Content-Type: text/plain; charset="utf-8" > >The new javascript-redirect on patron search results on the circulation page is unexpected behavior based on the user's expectations of a multi-select form field. Changing the style to that of links would give the user a more accurate idea of what their action (a click) will initiate (a page change). >--- > .../prog/en/modules/circ/circulation.tmpl | 11 ++++++++++- > 1 files changed, 10 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl >index 681092f..4f54b61 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl >@@ -219,8 +219,17 @@ No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span> > > > <!-- TMPL_IF NAME="CGIselectborrower" --> >+<script type="text/javascript">//<![CDATA[ >+ $(document).ready(function(){ >+ $("#circ_circulation_selectborrower p").hide(); >+ $("option").hover(function () { $(this).css("color","#669ACC").css("cursor","pointer"); }, >+ function () { $(this).css("color","#0000CC").css("cursor","default"); } ); }); >+//]]> >+</script> >+<style type="text/css"> >+ #circ_circulation_selectborrower option { color:#0000CC;text-decoration:underline;padding:1px 2px; } >+</style> > <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" --> >- > <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform"> > <fieldset id="circ_circulation_selectborrower" class="brief"> > <legend>Patron selection</legend> >-- >1.5.5.GIT >
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 2981
:
1011
|
1012
|
2841