Ticket #5759: 5759.patch
File 5759.patch, 597 bytes (added by , 14 years ago) |
---|
-
_source/plugins/selection/plugin.js
235 235 236 236 // Avoid saving selection from within text input. (#5747) 237 237 var parentTag; 238 if ( nativeSel .type == 'Text'238 if ( nativeSel && nativeSel.type == 'Text' 239 239 && ( parentTag = nativeSel.createRange().parentElement().nodeName.toLowerCase() ) 240 240 && parentTag in { input: 1, textarea : 1 } ) 241 241 {