Bugzilla – Attachment 21410 Details for
Bug 2720
Overdues which debar automatically should undebar automatically when returned
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 2720: FIX the "remove" links
Bug-2720-FIX-the-remove-links.patch (text/plain), 1.94 KB, created by
Jonathan Druart
on 2013-09-24 10:41:25 UTC
(
hide
)
Description:
Bug 2720: FIX the "remove" links
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-09-24 10:41:25 UTC
Size:
1.94 KB
patch
obsolete
>From 3fdc366fd692b47f1eecaf00ae453007beba8d94 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 24 Sep 2013 12:32:16 +0200 >Subject: [PATCH] Bug 2720: FIX the "remove" links > >If there are more than one restriction, the "remove" links don't display >the js alert. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc >index d85c19c..0998f19 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc >@@ -1,7 +1,7 @@ > <script type="text/javascript"> > //<![CDATA[ > $(document).ready(function(e){ >- $("#remove_restriction").on("click",function(){ >+ $("div#reldebarments .remove_restriction").on("click",function(){ > return confirm(_("Remove restriction?")); > }); > var mrform = $("#manual_restriction_form"); >@@ -44,7 +44,7 @@ > <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td> > [% IF ( CAN_user_borrowers )%] > <td> >- <a id="remove_restriction" href="/cgi-bin/koha/members/mod_debarment.pl?borrowernumber=[% borrowernumber %]&borrower_debarment_id=[% d.borrower_debarment_id %]&action=del"> >+ <a class="remove_restriction" href="/cgi-bin/koha/members/mod_debarment.pl?borrowernumber=[% borrowernumber %]&borrower_debarment_id=[% d.borrower_debarment_id %]&action=del"> > Remove > </a> > </td> >-- >1.7.10.4
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 2720
:
15045
|
15050
|
15051
|
15052
|
16669
|
18213
|
19401
|
19414
|
19418
|
19419
|
19420
|
19421
|
19755
|
20655
|
20656
|
20657
|
20658
|
21366
|
21367
|
21368
|
21369
|
21405
|
21406
|
21407
|
21408
|
21409
| 21410 |
25575
|
25578