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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt (-1 / +1 lines)
Lines 436-442 Link Here
436
    [% Asset.js( "lib/sortable/Sortable.min.js" ) | $raw %]
436
    [% Asset.js( "lib/sortable/Sortable.min.js" ) | $raw %]
437
    [% Asset.js("js/admin-menu.js") | $raw %]
437
    [% Asset.js("js/admin-menu.js") | $raw %]
438
    <script>
438
    <script>
439
        const tagsubfield = [% IF tabsubfield %]"[% tabsubfield | html %]"[% ELSE %]null[% END %];
439
        const tagsubfield = [% IF tagsubfield %]"[% tagsubfield | html %]"[% ELSE %]null[% END %];
440
    </script>
440
    </script>
441
    <script>
441
    <script>
442
        $(document).ready(function () {
442
        $(document).ready(function () {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt (-11 / +9 lines)
Lines 206-223 Link Here
206
    [% INCLUDE 'datatables.inc' %]
206
    [% INCLUDE 'datatables.inc' %]
207
    <script>
207
    <script>
208
        var table_settings = [% TablesSettings.GetTableSettings( 'admin', 'cities', 'table_cities', 'json' ) | $raw %];
208
        var table_settings = [% TablesSettings.GetTableSettings( 'admin', 'cities', 'table_cities', 'json' ) | $raw %];
209
        $(document).ready(function() {
209
        var cities_table_url = '/api/v1/cities?';
210
            var cities_table_url = '/api/v1/cities?';
211
210
212
            [% IF city_name_filter %]
211
        [% IF city_name_filter %]
213
                var city_name_filter = {
212
            var city_name_filter = {
214
                    'name': {
213
                'name': {
215
                        "like": '%[%- city_name_filter | html -%]%'
214
                    "like": '%[%- city_name_filter | html -%]%'
216
                    }
215
                }
217
                };
216
            };
218
                cities_table_url += 'q='+ encodeURIComponent(JSON.stringify(city_name_filter));
217
            cities_table_url += 'q='+ encodeURIComponent(JSON.stringify(city_name_filter));
219
            [% END %]
218
        [% END %]
220
        });
221
    </script>
219
    </script>
222
    <script>
220
    <script>
223
        $(document).ready(function () {
221
        $(document).ready(function () {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/file_transports.tt (-1 / +1 lines)
Lines 461-467 Link Here
461
    [% INCLUDE 'datatables.inc' %]
461
    [% INCLUDE 'datatables.inc' %]
462
    <script>
462
    <script>
463
        const i18n = {
463
        const i18n = {
464
            on: "[% tp("Active", "On") | html %]";
464
            on: "[% tp("Active", "On") | html %]"
465
        };
465
        };
466
    </script>
466
    </script>
467
    <script>
467
    <script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smtp_servers.tt (-2 / +1 lines)
Lines 321-327 Link Here
321
    [% INCLUDE 'datatables.inc' %]
321
    [% INCLUDE 'datatables.inc' %]
322
    <script>
322
    <script>
323
        const i18n = {
323
        const i18n = {
324
            on: "[% tp("Active", "On") | html %]";
324
            on: "[% tp("Active", "On") | html %]"
325
        };
325
        };
326
    </script>
326
    </script>
327
    <script>
327
    <script>
328
- 

Return to bug 41564