Opened 14 years ago

Closed 14 years ago

#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 (7)

comment:1 Changed 14 years ago by gocher

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 14 years ago by gogo

  • Resolution fixed deleted
  • Status changed from closed to reopened

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

comment:3 Changed 14 years ago by gocher

fixed in Changest 242

comment:4 Changed 14 years ago by Ignas

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

comment:5 Changed 14 years ago by gocher

fixed in Changeset 245

comment:6 Changed 14 years ago by anonymous

  • Priority changed from normal to lowest

sdfsdfssdfsd
sd
fs
df
sd
f
sdf[sdefsd

]

comment:7 Changed 14 years ago by gocher

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