Closed (fixed)
Project:
Closed Question
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2011 at 08:35 UTC
Updated:
12 Apr 2011 at 10:27 UTC
How to reproduce this error:
- Open Firefox/IE (this bug does not occur in GC)
- Go to http://hylke.bpe.wur.nl/drupal/node/32/edit
- Click on Question->Text
- Try to select text under 'Content' (you will fail miserably :)
Who to blame?
- The function CQ_disableTextSelect, which disables the text selection.
How to fix?
- Do not call CQ_disableTextSelect on init, but when the dragging of '#xmlJsonEditor_divider' starts.
- Create another function, CQ_enableTextSelect, which is called when dragging '#xmlJsonEditor_divider' stops.
Comments
Comment #1
HylkeVDS commentedAfter some searching I found out that jQuery has disableSelection() and enableSelection() methods, so we can do without the CQ_disableTextSelect method.
I've updated the draggable start en stop events of the divider to also call the disable/enableSelection methods. Will be in the next release (and the next nightly)