Index: lams_central/web/fckeditor/editor/plugins/paint/FCK Paint.swf
===================================================================
diff -u -rc60d61cca991ea6f51d8eaa10774e1d502aa6d11 -r22714a298ec73db70fb22d7e59c4835c1108a3ca
Binary files differ
Index: lams_central/web/fckeditor/editor/plugins/paint/fckplugin.js
===================================================================
diff -u -rd2c7251b8d2d36a8b28d9c7b25ac0317cda625e6 -r22714a298ec73db70fb22d7e59c4835c1108a3ca
--- lams_central/web/fckeditor/editor/plugins/paint/fckplugin.js (.../fckplugin.js) (revision d2c7251b8d2d36a8b28d9c7b25ac0317cda625e6)
+++ lams_central/web/fckeditor/editor/plugins/paint/fckplugin.js (.../fckplugin.js) (revision 22714a298ec73db70fb22d7e59c4835c1108a3ca)
@@ -7,13 +7,15 @@
var PaintCommand = new Object();
PaintCommand.Add=function(source) {
- FCK.InsertHtml('
');
+ FCK.InsertHtml('
');
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