Changeset 6459
- Timestamp:
- 02/18/11 07:19:38 (2 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 2 edited
-
CHANGES.html (modified) (1 diff)
-
_source/plugins/selection/plugin.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r6458 r6459 65 65 <li><a href="http://dev.ckeditor.com/ticket/4475">#4475</a> : Protected source in attributes and inline CSS text are not handled.</li> 66 66 <li><a href="http://dev.ckeditor.com/ticket/6984">#6984</a> : [FF] Tailing line breaks are lost in enter mode BR.</li> 67 <li><a href="http://dev.ckeditor.com/ticket/6987">#6987</a> : [IE] Text selection lost when calling editor::insertHtml from dialog in some situation.</li> 67 68 <li>Updated the following language files:<ul> 68 69 <li><a href="http://dev.ckeditor.com/ticket/7124">#7124</a> : Czech;</li> -
CKEditor/trunk/_source/plugins/selection/plugin.js
r6441 r6459 135 135 if ( savedRange ) 136 136 { 137 // Range restored here might invalidate the DOM structure thus break up 138 // the locked selection, give it up. (#6083) 139 var lockedSelection = doc.getCustomData( 'cke_locked_selection' ); 140 if ( restoreEnabled && !lockedSelection ) 137 if ( restoreEnabled ) 141 138 { 142 139 // Well not break because of this. … … 147 144 catch (e) 148 145 {} 146 147 // Update locked selection because of the normalized text nodes. (#6083, #6987) 148 var lockedSelection = doc.getCustomData( 'cke_locked_selection' ); 149 if ( lockedSelection ) 150 { 151 lockedSelection.unlock(); 152 lockedSelection.lock(); 153 } 149 154 } 150 155
Note: See TracChangeset
for help on using the changeset viewer.
