Index: lams_central/web/fckeditor/editor/plugins/paint/FCK Paint.swf =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/plugins/paint/Attic/FCK Paint.swf,v diff -u -r1.3 -r1.4 Binary files differ Index: lams_central/web/fckeditor/editor/plugins/paint/fckplugin.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/fckeditor/editor/plugins/paint/Attic/fckplugin.js,v diff -u -r1.2 -r1.3 --- lams_central/web/fckeditor/editor/plugins/paint/fckplugin.js 29 Apr 2009 06:34:28 -0000 1.2 +++ lams_central/web/fckeditor/editor/plugins/paint/fckplugin.js 30 Apr 2009 02:17:12 -0000 1.3 @@ -7,13 +7,15 @@ var PaintCommand = new Object(); PaintCommand.Add=function(source) { - FCK.InsertHtml(''); + FCK.InsertHtml('FCKPainting'); FCK.Focus(); } PaintCommand.startingImage = ""; PaintCommand.OnDoubleClick = function( image ) { - PaintCommand.startingImage = image.src; - FCKCommands.GetCommand('Paint canvas').Execute(); + if(image.alt == "FCKPainting"){ + PaintCommand.startingImage = image.src; + FCKCommands.GetCommand('Paint canvas').Execute(); + } } FCK.RegisterDoubleClickHandler( PaintCommand.OnDoubleClick, 'IMG' ) ; \ No newline at end of file