Changes between Initial Version and Version 1 of Ticket #7561, comment 5


Ignore:
Timestamp:
May 5, 2011, 12:11:18 AM (9 years ago)
Author:
Freddie Bingham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7561, comment 5

    initial v1  
    88We occasionally have failures on:
    99
     10{{{
    1011body.getFirst()
    1112editor.getSelection()
    1213editor.getSelection().getRanges()
     14}}}
    1315
    1416Our suggestion is to check these values for null before continuing in this block of code:
    1517
     18{{{
    1619domDocument.getBody()
    1720editor.getSelection()
    1821editor.getSelection().getRanges()
     22}}}
    1923
    2024We've added code to perform these checks and no longer experience the infrequent javascript errors from trying to use null values.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy