Ticket #7092: 7092.patch

File 7092.patch, 587 bytes (added by Sa'ar Zac Elias, 13 years ago)
  • _source/plugins/styles/plugin.js

     
    7474                                        }
    7575                                }
    7676                        });
     77                // Reset all previously saved states on mode change (#7092).
     78                this.on( 'mode', function()
     79                        {
     80                                for ( var i = 0 ; i < styleStateChangeCallbacks.length ; i++ )
     81                                        styleStateChangeCallbacks[ i ].state = undefined;
     82                        });
    7783        }
    7884
    7985        // Save the callback info, so it can be checked on the next occurrence of
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy