View | Details | Raw Unified | Return to bug 16148
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-mini" 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-mini" 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-mini 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-mini 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-mini" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% TemplatesLoo.template_id %]&amp;op=delete_template" class="delete_template" onclick="return confirmDeleteAction();"><i class="fa fa-fw fa-trash"></i> Delete</a>
87
                                        <a class="btn btn-mini 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>
88
                                    </td>
88
                                    </td>
89
                                </tr>
89
                                </tr>
90
                            [% END %]
90
                            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/marc_modification_templates.js (-4 / +3 lines)
Lines 1-6 Link Here
1
$(document).ready(function() {
1
$(document).ready(function() {
2
    window.modaction_legend_innerhtml = document.getElementById('modaction_legend').innerHTML;
2
    window.modaction_legend_innerhtml = $("#modaction_legend").text();
3
    window.action_submit_value = document.getElementById('action_submit').value;
3
    window.action_submit_value = $("#action_submit").text();
4
4
5
    $('#select_template').find("input:submit").hide();
5
    $('#select_template').find("input:submit").hide();
6
    $('#select_template').change(function() {
6
    $('#select_template').change(function() {
Lines 68-74 $(document).ready(function() { Link Here
68
68
69
    $("#duplicate_a_template").on("change",function(e){
69
    $("#duplicate_a_template").on("change",function(e){
70
        e.preventDefault();
70
        e.preventDefault();
71
        if( this.value == '' ){
71
        if( this.value === '' ){
72
            $("#duplicate_current_template").val("");
72
            $("#duplicate_current_template").val("");
73
        } else {
73
        } else {
74
            $("#duplicate_current_template").val(1);
74
            $("#duplicate_current_template").val(1);
75
- 

Return to bug 16148