When switching between Xinhas in the same page, code mode won't restore access
|Reported by:||support@…||Owned by:||gogo|
|Severity:||major||Keywords:||multiple xinhas, disable toolbar, textmode bug|
Single HTML page with two xinha areas.
Steps to reproduce error
- Go to first Xinha area
- Switch to textmode
- Go to second Xinha
- Go back to first Xinha
- Toolbar does not automatically reactivate.
I tried to debug this a little and I believe that the issue is that there is an event attached to the iframe somewhere that catches onfocus and out of focus, so when we are in text mode that iframe is no longer there, so clicking the textarea does not activate the triggers.
I disabled the code that hide the iframe when switching to textmode, in this situation I was able to regain control of my xinha, after the bug producing steps. Obviously this is not a proper solution, but this is what makes me believe that the problem lies with a missing event somewhere.