Index: /CKEditor/branches/versions/3.4.x/CHANGES.html
===================================================================
--- /CKEditor/branches/versions/3.4.x/CHANGES.html (revision 5668)
+++ /CKEditor/branches/versions/3.4.x/CHANGES.html (revision 5669)
@@ -42,4 +42,9 @@
#5628 : Port 'DragResizeTable' plugin from FCKEditor 2.x.
#979 : New configuration 'enableTabKeyTools' to allow using 'Tab' key to navigate through table cells.
+
+
+ Fixed issues:
+
+ - #5415 : Undo not working when we change the Table Properties for the table on a saved page.
Index: /CKEditor/branches/versions/3.4.x/_source/plugins/dialog/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.4.x/_source/plugins/dialog/plugin.js (revision 5668)
+++ /CKEditor/branches/versions/3.4.x/_source/plugins/dialog/plugin.js (revision 5669)
@@ -169,4 +169,7 @@
this.on( 'ok', function( evt )
{
+ // Dialog confirm might probably introduce content changes (#5415).
+ editor.fire( 'saveSnapshot' );
+ setTimeout( function () { editor.fire( 'saveSnapshot' ); }, 0 );
if ( definition.onOk.call( this, evt ) === false )
evt.data.hide = false;
Index: /CKEditor/branches/versions/3.4.x/_source/plugins/div/dialogs/div.js
===================================================================
--- /CKEditor/branches/versions/3.4.x/_source/plugins/div/dialogs/div.js (revision 5668)
+++ /CKEditor/branches/versions/3.4.x/_source/plugins/div/dialogs/div.js (revision 5669)
@@ -485,5 +485,4 @@
onOk : function()
{
- editor.fire( 'saveSnapshot' );
if ( command == 'editdiv' )
containers = [ this._element ];
@@ -500,5 +499,4 @@
!containers[ i ].getAttribute( 'style' ) && containers[ i ].removeAttribute( 'style' );
}
- editor.fire( 'saveSnapshot' );
this.hide();