[Koha-bugs] [Bug 31863] Advanced cataloging editor no longer auto-resizes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 18 22:49:45 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31863

--- Comment #1 from Lucas Gass <lucas at bywatersolutions.com> ---
This is because of how we calculate the adjusted height in the function
'onResize'. If the 'changelanguage' element does not exist then
'$('#changelanguage').height()' will be undefined. 

1 + undefined == NaN. 

We cannot change the editor height to NaN. We should check for the existence of
the 'changelanguage' and if it is not present change the calculation.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list