Ticket #355 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

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

Changed 8 years ago by gocher

  • status changed from new to closed
  • resolution set to fixed

Changed 8 years ago by gogo

  • status changed from closed to reopened
  • resolution deleted

Fixed in what chanegset gocher? Don't just close tickets without explanation.

Changed 8 years ago by gocher

fixed in Changest 242

Changed 8 years ago by Ignas

Javascript error: _editor_skin is note defined in htmlarea.js line 1134

Changed 8 years ago by gocher

fixed in Changeset 245

Changed 8 years ago by anonymous

  • priority changed from normal to lowest

sdfsdfssdfsd sd fs df sd f sdf[sdefsd

]

Changed 8 years ago by gocher

  • status changed from reopened to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.