Skip to content
This repository has been archived by the owner on Oct 27, 2018. It is now read-only.

element.selectionStart : NS_ERROR_FAILURE #3

Open
anishmgoyal opened this issue Jul 25, 2014 · 0 comments
Open

element.selectionStart : NS_ERROR_FAILURE #3

anishmgoyal opened this issue Jul 25, 2014 · 0 comments

Comments

@anishmgoyal
Copy link

When updating a hidden field (which occurs in an event involving multiple different javascript plugins) the request for the property "selectionStart" from variable "element" on line 469 of file "rsf.js" triggers an error.

Hidden fields do not support selection, and so there should be a check for whether or not the field is hidden before affecting selection in any way.

This function is important for updating another field, which is not affected by the script as the exception skips the call to "firer.fire()".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant