Stefan Overkamp ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5e95c11e272c6a0c0e745638
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZjFjMzA4MTgwOTZiNDdmNDk2OWYwMDBhN2I1YTFjZDIiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-9617?atlOrigin=eyJpIjoiZjFjMzA4MTgwOTZiNDdmNDk2OWYwMDBhN2I1YTFjZDIiLCJwIjoiaiJ9
 ) GEOS-9617 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9617?atlOrigin=eyJpIjoiZjFjMzA4MTgwOTZiNDdmNDk2OWYwMDBhN2I1YTFjZDIiLCJwIjoiaiJ9
 ) Uncaught TypeError: Cannot set property 'disabled' of null at 
resizeStylePage ( 
https://osgeo-org.atlassian.net/browse/GEOS-9617?atlOrigin=eyJpIjoiZjFjMzA4MTgwOTZiNDdmNDk2OWYwMDBhN2I1YTFjZDIiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.17.0 Assignee: Unassigned Created: 
14/May/20 10:47 AM Environment:

Chrome, Firefox, Edge

Priority: Medium Reporter: Stefan Overkamp ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5e95c11e272c6a0c0e745638
 )

I see following Javascript error in Geoserver admin gui, when resizing the 
window.

Uncaught TypeError: Cannot set property 'disabled' of null at resizeStylePage 
(VM840 jquery.fullscreen-ver-D69DCBA0FF6B036BBEEE78538C81855F.js:22)

geoserver-2.17.0\src\web\core\src\main\java\org\geoserver\web\js\jquery.fullscreen.js:22
 is
document.getElementById('cm_editor_heigth').disabled=false;

cm_editor_heigth is (only) available in StyleEditorPage. So on other pages 
getElementById('cm_editor_heigth') is null !

Maybe it would be better to change jquery.fullscreen.js on line 17 to

if (document.getElementById('cm_editor_heigth'))

{ document.getElementById('cm_editor_heigth').disabled=true; }

and on line 28 to

if (document.getElementById('cm_editor_heigth'))

{ document.getElementById('cm_editor_heigth').disabled=false; }

( 
https://osgeo-org.atlassian.net/browse/GEOS-9617#add-comment?atlOrigin=eyJpIjoiZjFjMzA4MTgwOTZiNDdmNDk2OWYwMDBhN2I1YTFjZDIiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-9617#add-comment?atlOrigin=eyJpIjoiZjFjMzA4MTgwOTZiNDdmNDk2OWYwMDBhN2I1YTFjZDIiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100126- 
sha1:a719cbc )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to