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 861-866 canned reports and writing custom SQL reports.</p> Link Here
861
            $('.chart-column-delete').remove();
861
            $('.chart-column-delete').remove();
862
        }
862
        }
863
863
864
        $(".chart-column-delete").on('click', function(e){
865
            e.preventDefault();
866
            removeColumn('column_' + $(this).data('column'));
867
        })
864
868
865
        $('#download-chart').click(function() {
869
        $('#download-chart').click(function() {
866
            var svg = '<svg>' + $('#chart svg').html() + '</svg>';
870
            var svg = '<svg>' + $('#chart svg').html() + '</svg>';
867
- 

Return to bug 17282