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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt (-1 / +1 lines)
Lines 84-90 Link Here
84
                                    <td class="actions">
84
                                    <td class="actions">
85
                                        <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% TemplatesLoo.template_id %]&amp;op=select_template" ><i class="fa fa-fw fa-pencil"></i> Edit actions</a>
85
                                        <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% TemplatesLoo.template_id %]&amp;op=select_template" ><i class="fa fa-fw fa-pencil"></i> Edit actions</a>
86
                                        <a class="btn btn-default btn-xs duplicate_template" href="#" data-toggle="modal" data-template_id="[% TemplatesLoo.template_id %]" data-target="#createTemplate"><i class="fa fa-fw fa-copy"></i> Duplicate</a>
86
                                        <a class="btn btn-default btn-xs duplicate_template" href="#" data-toggle="modal" data-template_id="[% TemplatesLoo.template_id %]" data-target="#createTemplate"><i class="fa fa-fw fa-copy"></i> Duplicate</a>
87
                                        <a class="btn btn-default btn-xs delete_template" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% TemplatesLoo.template_id %]&amp;op=delete_template" onclick="return confirmDeleteAction();"><i class="fa fa-fw fa-trash"></i> Delete</a>
87
                                        <a class="btn btn-default btn-xs delete_template" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% TemplatesLoo.template_id %]&amp;op=delete_template"><i class="fa fa-fw fa-trash"></i> Delete</a>
88
                                    </td>
88
                                    </td>
89
                                </tr>
89
                                </tr>
90
                            [% END %]
90
                            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/marc_modification_templates.js (-3 / +1 lines)
Lines 75-82 $(document).ready(function() { Link Here
75
        }
75
        }
76
    });
76
    });
77
77
78
    $(".delete_template").on("click",function(e){
78
    $(".delete_template").on("click",function(){
79
        e.preventDefault();
80
        return confirmDelete();
79
        return confirmDelete();
81
    });
80
    });
82
81
83
- 

Return to bug 17916