Ticket #355 (closed defect: fixed)
Loading htmlarea.js overrides _editor_skin variable
| Reported by: | anonymous | Owned by: | gogo |
|---|---|---|---|
| Priority: | lowest | Milestone: | |
| Component: | Xinha Core | Version: | trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
If _editor_skin variable implemented in [239] is initialized before loading htmlarea.js, the value of the variable is resetted to empty value. This happens in htmlarea.js on line 60. Other _editor-variables can be initialized before loading htmlarea.js file.
I think this can be fixed by changing code from
// skin stylesheet to load _editor_skin = "";
to:
// skin stylesheet to load
if (!typeof _editor_skin == "string") {
_editor_skin = "";
}
Change History
Note: See
TracTickets for help on using
tickets.
