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

(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js (-2 / +2 lines)
Lines 117-123 $( document ).ready( function () { Link Here
117
            var editor = CodeMirror.fromTextArea( document.getElementById( "pref_" + target ), {
117
            var editor = CodeMirror.fromTextArea( document.getElementById( "pref_" + target ), {
118
                lineNumbers: true,
118
                lineNumbers: true,
119
                mode: syntax,
119
                mode: syntax,
120
                lineWrapping: true
120
                lineWrapping: true,
121
                viewportMargin: Infinity,
121
            });
122
            });
122
            editor.on("change", function(){
123
            editor.on("change", function(){
123
                mark_modified.call( $("#pref_" + target )[0]);
124
                mark_modified.call( $("#pref_" + target )[0]);
124
- 

Return to bug 24025