Mailing List Archive

[bricoleurs/bricolage] 75b241: Fix Xinha.
Branch: refs/heads/master
Home: https://github.com/bricoleurs/bricolage

Commit: 75b2415f32627ae86aa3807c470d04c7c3b43ea4
https://github.com/bricoleurs/bricolage/commit/75b2415f32627ae86aa3807c470d04c7c3b43ea4
Author: David E. Wheeler <david@justatheory.com>
Date: 2010-12-08 (Wed, 08 Dec 2010)

Changed paths:
M .gitignore
M comp/media/js/lib.js
M comp/widgets/profile/displayFormElement.mc
M comp/widgets/wysiwyg/xinha.html

Log Message:
-----------
Fix Xinha.

Update the JavaScript code to only load the editors when they're made visible.
This is a little fragile, since if we change the structure of the HTML at all,
we'll need to make sure that the Xinha code is updated to take advantage of
the new structure. That is, CSS selectors passed to `Element.select()` would
need to be updated.

Not sure if htmlArea or FCKEditor need to be updated, as well. [#217 state:resolved].