Ticket #967 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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
Cc:

Description

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 xinha/modules/ColorPicker/ColorPicker.js 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

Changed 6 years ago by ray

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

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.