Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.4
[ckeditor.git]
/
_source
/
plugins
/
dialog
/
plugin.js
diff --git
a/_source/plugins/dialog/plugin.js
b/_source/plugins/dialog/plugin.js
index
9927ebe
..
f2430cc
100644
(file)
--- a/
_source/plugins/dialog/plugin.js
+++ b/
_source/plugins/dialog/plugin.js
@@
-762,7
+762,7
@@
CKEDITOR.DIALOG_RESIZE_BOTH = 3;
for ( var i in this._.contents )
\r
{
\r
for ( var j in this._.contents[i] )
\r
for ( var i in this._.contents )
\r
{
\r
for ( var j in this._.contents[i] )
\r
- fn( this._.contents[i][j]);
\r
+ fn( this._.contents[i][j] );
\r
}
\r
return this;
\r
},
\r
}
\r
return this;
\r
},
\r
@@
-775,7
+775,7
@@
CKEDITOR.DIALOG_RESIZE_BOTH = 3;
*/
\r
reset : (function()
\r
{
\r
*/
\r
reset : (function()
\r
{
\r
- var fn = function( widget ){ if ( widget.reset ) widget.reset(); };
\r
+ var fn = function( widget ){ if ( widget.reset ) widget.reset( 1 ); };
\r
return function(){ this.foreach( fn ); return this; };
\r
})(),
\r
\r
return function(){ this.foreach( fn ); return this; };
\r
})(),
\r
\r
@@
-2354,14
+2354,15
@@
CKEDITOR.DIALOG_RESIZE_BOTH = 3;
/**
\r
* Sets the value of this dialog UI object.
\r
* @param {Object} value The new value.
\r
/**
\r
* Sets the value of this dialog UI object.
\r
* @param {Object} value The new value.
\r
+ * @param {Boolean} noChangeEvent Internal commit, to supress 'change' event on this element.
\r
* @returns {CKEDITOR.dialog.uiElement} The current UI element.
\r
* @example
\r
* uiElement.setValue( 'Dingo' );
\r
*/
\r
* @returns {CKEDITOR.dialog.uiElement} The current UI element.
\r
* @example
\r
* uiElement.setValue( 'Dingo' );
\r
*/
\r
- setValue : function( value )
\r
+ setValue : function( value, noChangeEvent )
\r
{
\r
this.getInputElement().setValue( value );
\r
{
\r
this.getInputElement().setValue( value );
\r
- this.fire( 'change', { value : value } );
\r
+ !noChangeEvent && this.fire( 'change', { value : value } );
\r
return this;
\r
},
\r
\r
return this;
\r
},
\r
\r