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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/chart.inc (-1 / +1 lines)
Lines 37-43 Link Here
37
                    <fieldset class="chart-column-conf" id="column_[% column %]" style="display: inline !important;">
37
                    <fieldset class="chart-column-conf" id="column_[% column %]" style="display: inline !important;">
38
                        <legend>
38
                        <legend>
39
                            Column [% column %]
39
                            Column [% column %]
40
                            <a class="chart-column-delete" href="#" onclick="removeColumn('column_[% column %]'); return false;">
40
                            <a class="chart-column-delete" href="#" data-column="[% column %]">
41
                                <img src="[% interface %]/[% theme %]/img/x.png" alt="Delete" />
41
                                <img src="[% interface %]/[% theme %]/img/x.png" alt="Delete" />
42
                            </a>
42
                            </a>
43
                        </legend>
43
                        </legend>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-1 / +4 lines)
Lines 935-940 canned reports and writing custom SQL reports.</p> Link Here
935
            $('.chart-column-delete').remove();
935
            $('.chart-column-delete').remove();
936
        }
936
        }
937
937
938
        $(".chart-column-delete").on('click', function(e){
939
            e.preventDefault();
940
            removeColumn('column_' + $(this).data('column'));
941
        })
938
942
939
        $('#download-chart').click(function() {
943
        $('#download-chart').click(function() {
940
            var svg = '<svg>' + $('#chart svg').html() + '</svg>';
944
            var svg = '<svg>' + $('#chart svg').html() + '</svg>';
941
- 

Return to bug 17282