Ticket #4829: 4829_2.patch

File 4829_2.patch, 819 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/selection/plugin.js

     
    143143                                                                }
    144144                                                        });
    145145
    146                                                 editor.window.on( 'focus', function()
     146                                                body.on( 'focus', function()
    147147                                                        {
    148148                                                                // Enable selections to be saved.
    149149                                                                saveEnabled = true;
     
    842842                                        range.moveToElementText( element.$ );
    843843                                        range.select();
    844844                                }
     845                                finally
     846                                {
     847                                        this.document.fire( 'selectionchange' );
     848                                }
    845849
    846850                                this.reset();
    847851                        }
     
    10861090                                endNode.remove();
    10871091                                ieRange.select();
    10881092                        }
     1093                       
     1094                        this.document.fire( 'selectionchange' );
    10891095                }
    10901096        :
    10911097                function()
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy