Stefan Overkamp created an issue |
Uncaught TypeError: Cannot set property ‘disabled’ of null at resizeStylePage |
Issue Type: |
Bug |
---|---|
Affects Versions: |
2.17.0 |
Assignee: |
Unassigned |
Created: |
14/May/20 10:47 AM |
Environment: |
Chrome, Firefox, Edge |
Priority: |
Medium |
Reporter: |
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 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; } |
Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS |
|
This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100126-sha1:a719cbc) |