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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-2 / +1 lines)
Lines 585-591 Link Here
585
        [% Asset.js( "lib/linters/htmlhint.min.js" ) | $raw %]
585
        [% Asset.js( "lib/linters/htmlhint.min.js" ) | $raw %]
586
        [% Asset.js( "lib/codemirror/html-lint.min.js" ) | $raw %]
586
        [% Asset.js( "lib/codemirror/html-lint.min.js" ) | $raw %]
587
        <script>
587
        <script>
588
            $("textarea[name='content']").each( function(index) {
588
            $("textarea[name^='content_']").each( function(index) {
589
                var this_lang = $(this).attr('data-lang');
589
                var this_lang = $(this).attr('data-lang');
590
                var editor = CodeMirror.fromTextArea(document.getElementById('content_' + this_lang), {
590
                var editor = CodeMirror.fromTextArea(document.getElementById('content_' + this_lang), {
591
                    lineNumbers: true,
591
                    lineNumbers: true,
592
- 

Return to bug 29693