Webpage Script Error
-
Script error when click in the message topic edit/input area to type message.
Line: 334
Error: Unable to get property 'createRange' of undefined or null reference -
Which page exactly? Which browser?
I don't see anything in a JS console in FF 47 on Mint.
-
He's most likely using Internet Explorer:
https://msdn.microsoft.com/library/ms535869%28v=vs.85%29.aspxSee:
https://forum.pfsense.org/Themes/default/scripts/script.js?fin20oTextHandle.caretPos = document.selection.createRange().duplicate();
-
IE 11 Windows 8.1
When creating a new message to post in the forums. Click inside the text entry box/area (where I am right now typing this message).
See attachments for IE script debugging settings and how to reproduce error.
![IE Script Debugging.jpg](/public/imported_attachments/1/IE Script Debugging.jpg)
![IE Script Debugging.jpg_thumb](/public/imported_attachments/1/IE Script Debugging.jpg_thumb)
![Forum Script Error.jpg](/public/imported_attachments/1/Forum Script Error.jpg)
![Forum Script Error.jpg_thumb](/public/imported_attachments/1/Forum Script Error.jpg_thumb) -
Should be fixed now.
From Jorge's link:
[selection is no longer supported. Starting with Internet Explorer 11, use getSelection. For info, see Compatibility changes.]
-
Yup. Appears to be fixed. Thanks.
-
Well, let's play whack a mole shall we.
Clicking an emoticons creates an error too, after typing in the message text area.
Line: 355 Error: Unable to get property 'charAt' of undefined or null reference