Ticket #4122: 4122.patch
File 4122.patch, 2.0 KB (added by , 14 years ago) |
---|
-
_source/plugins/image/dialogs/image.js
423 423 { 424 424 if ( type == IMAGE ) 425 425 { 426 var dialog = this.getDialog(); 427 var url = element.getAttribute( '_cke_saved_src' ); 428 if ( !url ) 429 url = element.getAttribute( 'src' ); 430 dialog.dontResetSize = true; 431 this.setValue( url ); // And call this.onChange() 432 this.focus(); 426 var url = element.getAttribute( '_cke_saved_src' ) || element.getAttribute( 'src' ); 427 var field = this; 428 429 this.getDialog().dontResetSize = true; 430 431 // In IE7 the dialog is being rendered improperly when loading 432 // an image with a long URL. So we need to delay it a bit. (#4122) 433 setTimeout( function() 434 { 435 field.setValue( url ); // And call this.onChange() 436 field.focus(); 437 }, 0 ); 433 438 } 434 439 }, 435 440 commit : function( type, element ) -
CHANGES.html
204 204 <li><a href="http://dev.fckeditor.net/ticket/4119">#4119</a> : Unable to edit image link with image dialog.</li> 205 205 <li><a href="http://dev.fckeditor.net/ticket/4058">#4058</a> : [FF] wysiwyg mode is sometimes not been activated.</li> 206 206 <li><a href="http://dev.fckeditor.net/ticket/4114">#4114</a> : [IE] RTE + IE6/IE7 Quirks = dialog mispositoned.</li> 207 <li><a href="http://dev.fckeditor.net/ticket/4122">#4122</a> : [IE] The image dialog 208 was being rendered improperly when loading an image with long URL.</li> 207 209 </ul> 208 210 <h3> 209 211 CKEditor 3.0 RC</h3>