Opened 14 years ago

Closed 14 years ago

#967 closed defect (fixed)

Font Color Picker and Image Manager not playing nice

Reported by: guest Owned by: gogo
Priority: highest Milestone: Version 1.0
Component: Xinha Core Version: trunk
Severity: major Keywords: ImageManager ColorPicker


When using the font colorPicker along with the ImageManager? the colorPicker will stop working and produce a javascript error.

Javascript Error:
Xinha is not defined
Line 98

Steps to Reproduce problem:

  1. Type some text
  2. Select some text.
  3. Change text color (color change works)
  4. Insert an image using the ImageManager?
  5. Select some text.
  6. Change text color (color change popup will not display and error is thrown)

Change History (1)

comment:1 Changed 14 years ago by ray

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

The problem here is that the Xinha.colorPicker object of the opening window is replaced by the one loaded in the popup. After closing the window it's gone with it :(

Fixed in rev [759] by caching the original object and putting it back in place on popup-window unload

Note: See TracTickets for help on using tickets.