Ticket #5573: 5573_2.patch
File 5573_2.patch, 1.1 KB (added by , 14 years ago) |
---|
-
_source/plugins/scayt/plugin.js
171 171 if ( CKEDITOR.env.ie ) 172 172 editor.getSelection().unlock( true ); 173 173 174 // Swallow any SCAYT engine errors. 175 window.setTimeout( function(){ scayt_instance.refresh(); }, 10 ); 174 // Return focus to the editor (5573 ticket) 175 // Refresh SCAYT markup 176 window.setTimeout( function(){ 177 scayt_instance.focus(); 178 scayt_instance.refresh(); 179 },10); 176 180 } 177 181 }, this, null, 50 ); 178 182 … … 186 190 if ( CKEDITOR.env.ie ) 187 191 editor.getSelection().unlock( true ); 188 192 189 // Swallow any SCAYT engine errors. 190 window.setTimeout( function(){ scayt_instance.refresh(); },10 ); 193 // Return focus to the editor (5573 ticket) 194 // Refresh SCAYT markup 195 window.setTimeout( function(){ 196 scayt_instance.focus(); 197 scayt_instance.refresh(); 198 },10); 191 199 } 192 200 }, this, null, 50 ); 193 201