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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-5 / +1 lines)
Lines 478-485 Libraries › Administration › Koha Link Here
478
    [% INCLUDE 'str/tinymce_i18n.inc' %]
478
    [% INCLUDE 'str/tinymce_i18n.inc' %]
479
    <script>
479
    <script>
480
        var table_settings = [% TablesSettings.GetTableSettings( 'admin', 'libraries', 'libraries', 'json' ) | $raw %];
480
        var table_settings = [% TablesSettings.GetTableSettings( 'admin', 'libraries', 'libraries', 'json' ) | $raw %];
481
        var saved_table = localStorage.getItem("DataTables_libraries_/cgi-bin/koha/admin/branches.pl");
482
        var updated_settings = get_columns_saved_state(saved_table, table_settings);
483
481
484
        $(document).ready(function() {
482
        $(document).ready(function() {
485
483
Lines 490-496 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
490
                },
488
                },
491
                'embed': [ 'smtp_server' ],
489
                'embed': [ 'smtp_server' ],
492
                'emptyTable': '<div class="dialog message">'+_("There are no libraries defined.")+' <a href="/cgi-bin/koha/admin/branches.pl?op=add_form">'+_("Start defining libraries")+'</a>.</div>',
490
                'emptyTable': '<div class="dialog message">'+_("There are no libraries defined.")+' <a href="/cgi-bin/koha/admin/branches.pl?op=add_form">'+_("Start defining libraries")+'</a>.</div>',
493
                "stateSave": true,
494
                "columnDefs": [ {
491
                "columnDefs": [ {
495
                    "targets": [0,1,3,4,7,9,10,11,12,13,14,15,16],
492
                    "targets": [0,1,3,4,7,9,10,11,12,13,14,15,16],
496
                    "render": function (data, type, row, meta) {
493
                    "render": function (data, type, row, meta) {
Lines 659-665 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
659
                        "orderable": false
656
                        "orderable": false
660
                    }
657
                    }
661
                ]
658
                ]
662
            }, updated_settings);
659
            }, table_settings);
663
660
664
            [% UNLESS library %]
661
            [% UNLESS library %]
665
                $("#Aform").on("submit", function( event ) {
662
                $("#Aform").on("submit", function( event ) {
666
- 

Return to bug 33484