Ticket #3286: 3286.patch
File 3286.patch, 1.1 KB (added by , 15 years ago) |
---|
-
_source/plugins/smiley/dialogs/smiley.js
21 21 html.push( 22 22 '<td class="dark_background hand centered" style="vertical-align: middle;">' + 23 23 '<img border="0" class="hand" title="', config.smiley_descriptions[i], '"' + 24 ' cke_src="', CKEDITOR.tools.htmlEncode( config.smiley_path + images[ i ] ), '"', 24 25 ' src="', CKEDITOR.tools.htmlEncode( config.smiley_path + images[ i ] ), '"', 25 26 // IE BUG: Below is a workaround to an IE image loading bug to ensure the image sizes are correct. 26 27 ( CKEDITOR.env.ie ? ' onload="this.setAttribute(\'width\', 2); this.removeAttribute(\'width\');" ' : '' ), … … 54 55 else if ( targetName != 'img' ) 55 56 return; 56 57 57 var src = target.getAttribute( ' src' ),58 var src = target.getAttribute( 'cke_src' ), 58 59 title = target.getAttribute( 'title' ); 59 60 60 61 var img = editor.document.createElement( 'img',