Details
-
Bug
-
Resolution: Fixed
-
None
-
None
-
Empty show more show less
Description
problem
Pressing ctrl-c to copy content can produce the following JS errors, depending where the cursor is:
- node.childNodes is undefined
- Uncaught TypeError: Cannot read property 'length' of undefined
Both in rangy lib.
reproduction
See attached screenshots.
solution
If ctrl-c is pressed and cursor is in or cell is selected in:
- language resource match panel: print a message to double click on the segment to overtake it
- language resource concordance panel: copy content of selected cell
- selection is empty in an input field or on a extjs control item (row head): copy nothing / do nothing