Ticket #3286: 3286.patch

File 3286.patch, 1.1 KB (added by Frederico Caldeira Knabben, 15 years ago)
  • _source/plugins/smiley/dialogs/smiley.js

     
    2121                html.push(
    2222                        '<td class="dark_background hand centered" style="vertical-align: middle;">' +
    2323                                '<img border="0" class="hand" title="', config.smiley_descriptions[i], '"' +
     24                                        ' cke_src="', CKEDITOR.tools.htmlEncode( config.smiley_path + images[ i ] ), '"',
    2425                                        ' src="', CKEDITOR.tools.htmlEncode( config.smiley_path + images[ i ] ), '"',
    2526                                        // IE BUG: Below is a workaround to an IE image loading bug to ensure the image sizes are correct.
    2627                                        ( CKEDITOR.env.ie ? ' onload="this.setAttribute(\'width\', 2); this.removeAttribute(\'width\');" ' : '' ),
     
    5455                        else if ( targetName != 'img' )
    5556                                return;
    5657
    57                         var src = target.getAttribute( 'src' ),
     58                        var src = target.getAttribute( 'cke_src' ),
    5859                                title = target.getAttribute( 'title' );
    5960
    6061                        var img = editor.document.createElement( 'img',
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy