Index: /CKEditor/branches/versions/3.4.x/_source/plugins/dialogadvtab/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.4.x/_source/plugins/dialogadvtab/plugin.js	(revision 5821)
+++ /CKEditor/branches/versions/3.4.x/_source/plugins/dialogadvtab/plugin.js	(revision 5822)
@@ -43,6 +43,4 @@
 	}
 }
-
-var isUpdating;
 
 CKEDITOR.plugins.add( 'dialogadvtab',
@@ -145,10 +143,4 @@
 						updateStyle : function( name, value )
 						{
-							if ( isUpdating )
-								return;
-
-							// Flag to avoid recursion.
-							isUpdating = 1;
-
 							var styles = this.getValue();
 
@@ -168,7 +160,6 @@
 							}
 
-							this.setValue( styles );
-
-							isUpdating = 0;
+							this.setValue( styles, true );
+
 						},
 
Index: /CKEditor/branches/versions/3.4.x/_source/plugins/dialogui/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.4.x/_source/plugins/dialogui/plugin.js	(revision 5821)
+++ /CKEditor/branches/versions/3.4.x/_source/plugins/dialogui/plugin.js	(revision 5822)
@@ -60,7 +60,7 @@
 		},
 
-		reset : function()
+		reset : function( noChangeEvent )
 		{
-			this.setValue( this.getInitValue() );
+			this.setValue( this.getInitValue(), noChangeEvent );
 		},
 
@@ -1062,5 +1062,5 @@
 				{
 					!value && ( value = '' );
-					return CKEDITOR.ui.dialog.uiElement.prototype.setValue.call( this, value );
+					return CKEDITOR.ui.dialog.uiElement.prototype.setValue.apply( this, arguments );
 				},
 
@@ -1157,9 +1157,10 @@
 				 * @example
 				 * @param {Boolean} true to tick the checkbox, false to untick it.
-				 */
-				setValue : function( checked )
+				 * @param {Boolean} noChangeEvent Internal commit, to supress 'change' event on this element.
+				 */
+				setValue : function( checked, noChangeEvent )
 				{
 					this.getInputElement().$.checked = checked;
-					this.fire( 'change', { value : checked } );
+					!noChangeEvent && this.fire( 'change', { value : checked } );
 				},
 
@@ -1223,6 +1224,7 @@
 				 * @example
 				 * @param {String} value The value of the button to be chcked.
-				 */
-				setValue : function( value )
+				 * @param {Boolean} noChangeEvent Internal commit, to supress 'change' event on this element.
+				 */
+				setValue : function( value, noChangeEvent )
 				{
 					var children = this._.children,
@@ -1230,5 +1232,5 @@
 					for ( var i = 0 ; ( i < children.length ) && ( item = children[i] ) ; i++ )
 						item.getElement().$.checked = ( item.getValue() == value );
-					this.fire( 'change', { value : value } );
+					!noChangeEvent && this.fire( 'change', { value : value } );
 				},
 
Index: /CKEditor/branches/versions/3.4.x/_source/plugins/dialog/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.4.x/_source/plugins/dialog/plugin.js	(revision 5821)
+++ /CKEditor/branches/versions/3.4.x/_source/plugins/dialog/plugin.js	(revision 5822)
@@ -763,5 +763,5 @@
 			{
 				for ( var j in this._.contents[i] )
-					fn( this._.contents[i][j]);
+					fn( this._.contents[i][j] );
 			}
 			return this;
@@ -776,5 +776,5 @@
 		reset : (function()
 		{
-			var fn = function( widget ){ if ( widget.reset ) widget.reset(); };
+			var fn = function( widget ){ if ( widget.reset ) widget.reset( 1 ); };
 			return function(){ this.foreach( fn ); return this; };
 		})(),
@@ -2355,12 +2355,13 @@
 		 * Sets the value of this dialog UI object.
 		 * @param {Object} value The new value.
+		 * @param {Boolean} noChangeEvent Internal commit, to supress 'change' event on this element.
 		 * @returns {CKEDITOR.dialog.uiElement} The current UI element.
 		 * @example
 		 * uiElement.setValue( 'Dingo' );
 		 */
-		setValue : function( value )
+		setValue : function( value, noChangeEvent )
 		{
 			this.getInputElement().setValue( value );
-			this.fire( 'change', { value : value } );
+			!noChangeEvent && this.fire( 'change', { value : value } );
 			return this;
 		},
Index: /CKEditor/branches/versions/3.4.x/_source/plugins/table/dialogs/table.js
===================================================================
--- /CKEditor/branches/versions/3.4.x/_source/plugins/table/dialogs/table.js	(revision 5821)
+++ /CKEditor/branches/versions/3.4.x/_source/plugins/table/dialogs/table.js	(revision 5822)
@@ -33,6 +33,5 @@
 			onLoad : function()
 			{
-				var dialog = this,
-					isUpdating;
+				var dialog = this;
 
 				var styles = dialog.getContentElement( 'advanced', 'advStyles' );
@@ -42,10 +41,4 @@
 					styles.on( 'change', function( evt )
 						{
-							if ( isUpdating )
-								return;
-
-							// Flag to avoid recursion.
-							isUpdating = 1;
-
 							// Synchronize width value.
 							var width = this.getStyle( 'width', '' ),
@@ -60,6 +53,6 @@
 							}
 
-							txtWidth && txtWidth.setValue( width );
-							cmbWidthType && cmbWidthType.setValue( isPx ? 'pixels' : 'percents' );
+							txtWidth && txtWidth.setValue( width, true );
+							cmbWidthType && cmbWidthType.setValue( isPx ? 'pixels' : 'percents', true );
 
 							// Synchronize height value.
@@ -68,7 +61,5 @@
 
 							height && ( height = parseInt( height, 10 ) );
-							txtHeight && txtHeight.setValue( height );
-
-							isUpdating = 0;
+							txtHeight && txtHeight.setValue( height, true );
 						});
 				}
Index: /CKEditor/branches/versions/3.4.x/CHANGES.html
===================================================================
--- /CKEditor/branches/versions/3.4.x/CHANGES.html	(revision 5821)
+++ /CKEditor/branches/versions/3.4.x/CHANGES.html	(revision 5822)
@@ -1,3 +1,3 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
 Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
@@ -45,4 +45,5 @@
 		<li><a href="http://dev.fckeditor.net/ticket/6135">#6135</a> : The dialogadvtab plugin now uses the correct label.</li>
 		<li><a href="http://dev.fckeditor.net/ticket/6125">#6125</a> : Focus was lost after applying commands in Opera.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/6137">#6137</a> : The table dialog was missing the default width value on second opening.</li>
 	</ul>
 	<h3>
