#2733: Changing table cell properties cannot be undone (undoes the previous
action
instead)
--------------------------+-------------------------------------------------
Reporter: thiloplanz | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone:
Component: UI : Dialogs | Version:
Keywords: |
--------------------------+-------------------------------------------------
Comment(by thiloplanz):
inserting a call to ''SaveUndoStep'' fixes the problem
{{{
#!diff
Index: fck_src/editor/dialog/fck_tablecell.html
===================================================================
--- fck_src/editor/dialog/fck_tablecell.html (revision 2771)
+++ fck_src/editor/dialog/fck_tablecell.html (working copy)
@@ -81,6 +81,7 @@
// Fired when the user press the OK button
function Ok()
{
+ oEditor.FCKUndo.SaveUndoStep() ;
for( i = 0 ; i < aCells.length ; i++ )
{
if ( GetE('txtWidth').value.length > 0 )
}}}
--
Ticket URL: <http://dev.fckeditor.net/ticket/2733#comment:2>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac