Ticket #3111: 3111.patch

File 3111.patch, 718 bytes (added by Martin Kou, 15 years ago)
  • _source/plugins/menu/plugin.js

     
    278278                                        ' onmouseout="CKEDITOR.tools.callFunction(', menu._.itemOutFn, ',', index, ');"' +
    279279                                        ' onclick="CKEDITOR.tools.callFunction(', menu._.itemClickFn, ',', index, ');"' +
    280280                                        '>' +
    281                                                 '<span class="cke_icon"></span>' +
     281                                                '<span class="cke_icon" ' +
     282                                                        ( this.icon ? 'style="background-image:url(' + CKEDITOR.getUrl( this.icon ) + ');background-position:0 0;"' : '' ) +
     283                                                        '></span>' +
    282284                                                '<span class="cke_label">' );
    283285
    284286                        if ( this.getItems )
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy