Ticket #5274: 5274_3.patch

File 5274_3.patch, 849 bytes (added by Garry Yao, 11 years ago)
  • _source/plugins/templates/dialogs/templates.js

     
    4444                                var html = '<table style="width:350px;" class="cke_tpl_preview"><tr>';
    4545
    4646                                if ( template.image && imagesPath )
    47                                         html += '<td class="cke_tpl_preview_img"><img src="' + CKEDITOR.getUrl( imagesPath + template.image ) + '"></td>';
     47                                        html += '<td class="cke_tpl_preview_img"><img src="' + CKEDITOR.getUrl( imagesPath + template.image ) + '"' + ( CKEDITOR.env.ie6Compat? 'onload="this.width=this.width"' : '' ) + '></td>';
    4848
    4949                                html += '<td style="white-space:normal;"><span class="cke_tpl_title">' + template.title + '</span><br/>';
    5050
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy