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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt (-7 / +8 lines)
Lines 1-4 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE Asset %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Patrons &rsaquo; API Keys</title>
5
<title>Koha &rsaquo; Patrons &rsaquo; API Keys</title>
Lines 99-111 Link Here
99
    </div>
100
    </div>
100
101
101
[% MACRO jsinclude BLOCK %]
102
[% MACRO jsinclude BLOCK %]
102
        <script>
103
    [% Asset.js("js/members-menu.js") %]
103
            $(document).ready(function(){
104
    <script>
104
                $(".delete").on("click", function(e){
105
        $(document).ready(function(){
105
                    return confirmDelete(_("Are you sure you want to delete this key?"));
106
            $(".delete").on("click", function(e){
106
                });
107
                return confirmDelete(_("Are you sure you want to delete this key?"));
107
            });
108
            });
108
        </script>
109
        });
110
    </script>
109
[% END %]
111
[% END %]
110
112
111
[% INCLUDE 'intranet-bottom.inc' %]
113
[% INCLUDE 'intranet-bottom.inc' %]
112
- 

Return to bug 20803