Changeset 759


Ignore:
Timestamp:
02/23/07 03:47:53 (13 years ago)
Author:
ray
Message:

Ticket #967 Font Color Picker and Image Manager not playing nice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/ColorPicker/ColorPicker.js

    r704 r759  
    9292        // dummy function for Xinha plugin api, note the different names 
    9393  } 
     94  if (window.opener && window.opener.Xinha) 
     95  { // this prevents that the Xinha.colorPicker object of the opening window is replaced by the one loaded in the popup 
     96        var openerColorPicker = window.opener.Xinha.colorPicker; 
     97        Xinha._addEvent(window,'unload', function() {Xinha.colorPicker = openerColorPicker;}); 
     98  } 
    9499  //the actual function is below 
    95100  Xinha.colorPicker = function (params) 
Note: See TracChangeset for help on using the changeset viewer.