Ticket #7196: 7196.patch

File 7196.patch, 514 bytes (added by Wiktor Walc, 9 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    266266                        selection.selectRanges( [ range ] );
    267267
    268268                if ( selIsLocked )
    269                         this.getSelection().lock();
     269                {
     270                        selection = this.getSelection();
     271                        selection && selection.lock();
     272                }
    270273        }
    271274
    272275        // DOM modification here should not bother dirty flag.(#4385)
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy