Bugzilla – Attachment 9927 Details for
Bug 8119
Show hint when disabling active currency checkbox
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8119 - Show hint when disabling active currency checkbox
Bug-8119---Show-hint-when-disabling-active-currenc.patch (text/plain), 1.49 KB, created by
Jared Camins-Esakov
on 2012-06-05 17:17:27 UTC
(
hide
)
Description:
Bug 8119 - Show hint when disabling active currency checkbox
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2012-06-05 17:17:27 UTC
Size:
1.49 KB
patch
obsolete
>From a00cf12153b7d2d43ad19d3ca952fdb55d7e1431 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 18 May 2012 09:19:34 -0400 >Subject: [PATCH] Bug 8119 - Show hint when disabling active currency checkbox > >Display a hint when the exchange rate != 1.0: "The active currency >must have a rate of 1.0" > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >Signed-off-by: Shari Perkins <dear.shari+koha@gmail.com> >--- > .../prog/en/modules/admin/currency.tt | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >index d2d0597..e235838 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >@@ -41,9 +41,11 @@ > $("#rate").keyup(function() { > if ( $(this).val() == 1.0 ) { > $("#active").removeAttr('disabled'); >+ $("#hint").html(""); > } else { > $("#active").removeAttr('checked'); > $("#active").attr('disabled','disabled'); >+ $("#hint").html(_("The active currency must have a rate of 1.0")); > } > }); > }); >@@ -114,6 +116,7 @@ > [% ELSE %] > <input type="checkbox" id="active" name="active" value="1" /> > [% END %] >+ <span id="hint" class="hint"></span> > </li> > > </ol> >-- >1.7.2.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 8119
:
9638
|
9657
|
9692
| 9927 |
9928