Bugzilla – Attachment 1350 Details for
Bug 3485
Button to clear screen after checkout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed change
0001-Moving-display-of-Clear-Screen-button-to-the-patro.patch (text/plain), 1.89 KB, created by
Chris Cormack
on 2009-08-31 14:53:00 UTC
(
hide
)
Description:
Proposed change
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2009-08-31 14:53:00 UTC
Size:
1.89 KB
patch
obsolete
>From e68f6aa5510e445f117e7bd3ad2c7f0c4cc3dd8b Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 31 Aug 2009 09:47:05 -0500 >Subject: [PATCH] Moving display of "Clear Screen" button to the patron toolbar and triggering its display with JavaScript. >Content-Type: text/plain; charset="utf-8" > >A button which relies on "window.location" would do nothing with javascript turned off, so display of the button should be triggered by javascript. >--- > .../prog/en/modules/circ/circulation.tmpl | 6 ++---- > 1 files changed, 2 insertions(+), 4 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 013a303..c2baad4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl >@@ -48,6 +48,8 @@ $.tablesorter.addParser({ > }); > } > }); >+ <!-- TMPL_IF NAME="DisplayClearScreenButton" -->$("#toolbar ul").append("<li><input style=\"float:right;font-size:87%;\" type=\"button\" value=\""+_("Clear Screen")+"\" onclick=\"window.location = '/cgi-bin/koha/circ/circulation.pl'\" /></li>"); >+ <!-- /TMPL_IF --> > }); > //]]> > </script> >@@ -261,10 +263,6 @@ No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span> > <!-- TMPL_ELSE --> > <div><!-- /TMPL_IF --><form method="post" action="/cgi-bin/koha/circ/circulation.pl" name="mainform"> > <fieldset id="circ_circulation_issue"> >- <!-- TMPL_IF NAME="DisplayClearScreenButton" --> >- <input type=button value="Clear Screen" onClick="window.location = '/cgi-bin/koha/circ/circulation.pl'"> >- <!-- /TMPL_IF --> >- > <label for="barcode">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->) </label> > <div class="hint">Enter item barcode:</div> > >-- >1.5.6.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 3485
:
1348
|
1349
| 1350