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 877-882 canned reports and writing custom SQL reports.</p> Link Here
877
            $('.chart-column-delete').remove();
877
            $('.chart-column-delete').remove();
878
        }
878
        }
879
879
880
        $(".chart-column-delete").on('click', function(e){
881
            e.preventDefault();
882
            removeColumn('column_' + $(this).data('column'));
883
        })
880
884
881
        $('#download-chart').click(function() {
885
        $('#download-chart').click(function() {
882
            var svg = '<svg>' + $('#chart svg').html() + '</svg>';
886
            var svg = '<svg>' + $('#chart svg').html() + '</svg>';
883
- 

Return to bug 17282