View | Details | Raw Unified | Return to bug 2720
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc (-3 / +2 lines)
Lines 1-7 Link Here
1
<script type="text/javascript">
1
<script type="text/javascript">
2
   //<![CDATA[
2
   //<![CDATA[
3
        $(document).ready(function(e){
3
        $(document).ready(function(e){
4
            $("#remove_restriction").on("click",function(){
4
            $("div#reldebarments .remove_restriction").on("click",function(){
5
                return confirm(_("Remove restriction?"));
5
                return confirm(_("Remove restriction?"));
6
            });
6
            });
7
            var mrform = $("#manual_restriction_form");
7
            var mrform = $("#manual_restriction_form");
Lines 44-50 Link Here
44
                        <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
44
                        <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
45
                        [% IF ( CAN_user_borrowers )%]
45
                        [% IF ( CAN_user_borrowers )%]
46
                            <td>
46
                            <td>
47
                                <a id="remove_restriction" href="/cgi-bin/koha/members/mod_debarment.pl?borrowernumber=[% borrowernumber %]&amp;borrower_debarment_id=[% d.borrower_debarment_id %]&amp;action=del">
47
                                <a class="remove_restriction" href="/cgi-bin/koha/members/mod_debarment.pl?borrowernumber=[% borrowernumber %]&amp;borrower_debarment_id=[% d.borrower_debarment_id %]&amp;action=del">
48
                                    Remove
48
                                    Remove
49
                                </a>
49
                                </a>
50
                            </td>
50
                            </td>
51
- 

Return to bug 2720