Ticket #3725: 3725_3.patch

File 3725_3.patch, 804 bytes (added by Frederico Caldeira Knabben, 14 years ago)
  • _source/plugins/floatpanel/plugin.js

     
    1515
    1616        function getPanel( editor, doc, parentElement, definition, level )
    1717        {
    18                 // Generates the panel key: docId-eleId-skinName-langDir[-CSSs][-level]
     18                // Generates the panel key: docId-eleId-skinName-langDir[-uiColor][-CSSs][-level]
    1919                var key =
    2020                        doc.getUniqueId() +
    2121                        '-' + parentElement.getUniqueId() +
    2222                        '-' + editor.skinName +
    2323                        '-' + editor.lang.dir +
     24                        ( ( editor.uiColor && ( '-' + editor.uiColor ) ) || '' ) +
    2425                        ( ( definition.css && ( '-' + definition.css ) ) || '' ) +
    2526                        ( ( level && ( '-' + level ) ) || '' );
    2627
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy