Ticket #6375: 6375_2.patch
File 6375_2.patch, 605 bytes (added by , 14 years ago) |
---|
-
_source/plugins/selection/plugin.js
174 174 { 175 175 editor.on( 'blur', function( evt ) 176 176 { 177 editor.document && editor.document.$.selection.empty(); 177 // Try/Catch to avoid errors if the editor is hidden. (#6375) 178 try 179 { 180 editor.document && editor.document.$.selection.empty(); 181 } 182 catch (e) {} 178 183 }); 179 184 } 180 185