You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ch...@apache.org on 2006/12/15 14:34:49 UTC

svn commit: r487549 - /lenya/trunk/src/modules/fckeditor/resources/plugins/lenyaSave/fckplugin.js

Author: chestnut
Date: Fri Dec 15 05:34:48 2006
New Revision: 487549

URL: http://svn.apache.org/viewvc?view=rev&rev=487549
Log:
adds missing FCKEditor save button
Thanks to Richard Frovarp for the patch
resolves Bug 41173

Modified:
    lenya/trunk/src/modules/fckeditor/resources/plugins/lenyaSave/fckplugin.js

Modified: lenya/trunk/src/modules/fckeditor/resources/plugins/lenyaSave/fckplugin.js
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/fckeditor/resources/plugins/lenyaSave/fckplugin.js?view=diff&rev=487549&r1=487548&r2=487549
==============================================================================
--- lenya/trunk/src/modules/fckeditor/resources/plugins/lenyaSave/fckplugin.js (original)
+++ lenya/trunk/src/modules/fckeditor/resources/plugins/lenyaSave/fckplugin.js Fri Dec 15 05:34:48 2006
@@ -41,10 +41,10 @@
 	return 0;
 }
 
-// Create the "Find" toolbar button. 
-var oFindItem = new FCKToolbarButton('lenyaSave', FCKLang['lenyaSaveDlgToolbarName']);
-oFindItem.IconPath = '/modules/fckeditor/FCKeditor/editor/skins/default/toolbar/save.gif' ;
-
-// 'My_Find' is the name used in the Toolbar config.
-FCKToolbarItems.RegisterItem( 'lenyaSave', oFindItem ) ;
+// Create the "Save" toolbar button. 
+var oSaveItem = new FCKToolbarButton('lenyaSave', FCKLang['lenyaSaveDlgToolbarName']);
+// Get icon from FCKEditor's icons
+oSaveItem.IconPath= [FCKConfig.SkinPath + 'fck_strip.gif', 16, 3];
 
+// 'lenyaSave' is the name used in the Toolbar config.
+FCKToolbarItems.RegisterItem( 'lenyaSave', oSaveItem ) ;
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org