Ticket #1161 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

permission error from ColorPicker.js

Reported by: guest Owned by: gogo
Priority: normal Milestone: 0.95
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description

We reference window.opener on load of this script. In some cases, the opener is not accessible. Putting a try/catch around this block fixes the issue. Can this make it into 0.95? Thanks.

try {

if(window.opener&&window.opener.Xinha){

var openerColorPicker=window.opener.Xinha.colorPicker; Xinha._addEvent(window,"unload",function(){

Xinha.colorPicker=openerColorPicker;

});

}

} catch (e) {}

kngan@…

Change History

Changed 9 months ago by ray

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

rev [979]

Note: See TracTickets for help on using tickets.