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 496-503 Libraries › Administration › Koha Link Here
496
    [% INCLUDE 'str/tinymce_i18n.inc' %]
496
    [% INCLUDE 'str/tinymce_i18n.inc' %]
497
    <script>
497
    <script>
498
        var table_settings = [% TablesSettings.GetTableSettings( 'admin', 'libraries', 'libraries', 'json' ) | $raw %];
498
        var table_settings = [% TablesSettings.GetTableSettings( 'admin', 'libraries', 'libraries', 'json' ) | $raw %];
499
        var saved_table = localStorage.getItem("DataTables_libraries_/cgi-bin/koha/admin/branches.pl");
500
        var updated_settings = get_columns_saved_state(saved_table, table_settings);
501
499
502
        $(document).ready(function() {
500
        $(document).ready(function() {
503
501
Lines 508-514 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
508
                },
506
                },
509
                'embed': [ 'smtp_server' ],
507
                'embed': [ 'smtp_server' ],
510
                '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>',
508
                '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>',
511
                "stateSave": true,
512
                "columnDefs": [ {
509
                "columnDefs": [ {
513
                    "targets": [0,1,3,4,7,9,10,11,12,13,14,15,16],
510
                    "targets": [0,1,3,4,7,9,10,11,12,13,14,15,16],
514
                    "render": function (data, type, row, meta) {
511
                    "render": function (data, type, row, meta) {
Lines 677-683 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
677
                        "orderable": false
674
                        "orderable": false
678
                    }
675
                    }
679
                ]
676
                ]
680
            }, updated_settings);
677
            }, table_settings);
681
678
682
            [% UNLESS library %]
679
            [% UNLESS library %]
683
                $("#Aform").on("submit", function( event ) {
680
                $("#Aform").on("submit", function( event ) {
684
- 

Return to bug 33484