Ticket #6414: 6414.patch

File 6414.patch, 540 bytes (added by Alfonso Martínez de Lizarrondo, 11 years ago)

Proposed patch

  • _source/plugins/stylescombo/plugin.js

     
    198198                var typeA = styleA.type,
    199199                        typeB = styleB.type;
    200200
    201                 return typeA == typeB ? 0 :
     201                return typeA == typeB ? (styleA._name > styleB._name ? 1 : -1 ) :
    202202                        typeA == CKEDITOR.STYLE_OBJECT ? -1 :
    203203                        typeB == CKEDITOR.STYLE_OBJECT ? 1 :
    204204                        typeB == CKEDITOR.STYLE_BLOCK ? 1 :
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy