Ticket #6096: 6096.patch

File 6096.patch, 632 bytes (added by Sa'ar Zac Elias, 14 years ago)
  • _source/plugins/selection/plugin.js

     
    274274
    275275                                                                // Avoid saving selection from within text input. (#5747)
    276276                                                                var parentTag;
    277                                                                 if ( nativeSel && nativeSel.type != 'Control'
     277                                                                if ( nativeSel && nativeSel.type && nativeSel.type != 'Control'
    278278                                                                        && ( parentTag = nativeSel.createRange() )
    279279                                                                        && ( parentTag = parentTag.parentElement() )
    280280                                                                        && ( parentTag = parentTag.nodeName )
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy