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 |
- |
|
|