Ticket #4829: 4829_2.patch
File 4829_2.patch, 819 bytes (added by , 15 years ago) |
---|
-
_source/plugins/selection/plugin.js
143 143 } 144 144 }); 145 145 146 editor.window.on( 'focus', function()146 body.on( 'focus', function() 147 147 { 148 148 // Enable selections to be saved. 149 149 saveEnabled = true; … … 842 842 range.moveToElementText( element.$ ); 843 843 range.select(); 844 844 } 845 finally 846 { 847 this.document.fire( 'selectionchange' ); 848 } 845 849 846 850 this.reset(); 847 851 } … … 1086 1090 endNode.remove(); 1087 1091 ieRange.select(); 1088 1092 } 1093 1094 this.document.fire( 'selectionchange' ); 1089 1095 } 1090 1096 : 1091 1097 function()