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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc (-2 / +1 lines)
Lines 785-791 require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr Link Here
785
            if ( resizeTimer == null ) resizeTimer = setTimeout( function() {
785
            if ( resizeTimer == null ) resizeTimer = setTimeout( function() {
786
                resizeTimer = null;
786
                resizeTimer = null;
787
787
788
                var pos = $('#editor .CodeMirror').position();
788
                var pos = $('#editor .CodeMirror').offset();
789
                $('#editor .CodeMirror').height( $(window).height() - pos.top - 24 - $('#changelanguage').height() ); // 24 is hardcoded value but works well
789
                $('#editor .CodeMirror').height( $(window).height() - pos.top - 24 - $('#changelanguage').height() ); // 24 is hardcoded value but works well
790
790
791
                $('.modal-body').each( function() {
791
                $('.modal-body').each( function() {
792
- 

Return to bug 21307