@ -1,7 +1,7 @@
/ * *
/ * *
* Functions for the ImageEditor interface , used by editor . php only
* Functions for the ImageEditor interface , used by editor . php only
* @ author $Author : Wei Zhuo $
* @ author $Author : Wei Zhuo $
* @ author $Author : Frédéric Klee < fklee @ isuisse . com > $ - constraints toggle and check
* @ author $Author : Frédéric Klee < fklee @ isuisse . com > $ - constraints toggle and check
* @ author $Author : Paul Moers < mail @ saulmade . nl > $ - watermarking and replace code + several small enhancements < http : //www.saulmade.nl/FCKeditor/FCKPlugins.php>
* @ author $Author : Paul Moers < mail @ saulmade . nl > $ - watermarking and replace code + several small enhancements < http : //www.saulmade.nl/FCKeditor/FCKPlugins.php>
* @ version $Id : editor . js 2006 - 04 - 09 $
* @ version $Id : editor . js 2006 - 04 - 09 $
* @ package ImageManager
* @ package ImageManager
@ -65,7 +65,7 @@
}
}
//constraints on the scale,
//constraints on the scale,
//code by Frédéric Klee <fklee@isuisse.com>
//code by Frédéric Klee <fklee@isuisse.com>
if ( action == 'scale' )
if ( action == 'scale' )
{
{
var theImage = editor . window . document . getElementById ( 'theImage' ) ;
var theImage = editor . window . document . getElementById ( 'theImage' ) ;
@ -313,11 +313,12 @@
init = function ( )
init = function ( )
{
{
var bottom = document . getElementById ( 'bottom' ) ;
var bottom = document . getElementById ( 'bottom' ) ;
if ( window . opener )
_ _dlg _init ( bottom ) ;
if ( I18N )
{
{
_ _dlg _init ( bottom ) ;
_ _dlg _translate ( I18N ) ;
_ _dlg _translate ( I18N ) ;
}
}
}
}
addEvent ( window , 'load' , init ) ;
addEvent ( window , 'load' , init ) ;