Ticket #8895: 8895.patch
File 8895.patch, 977 bytes (added by , 11 years ago) |
---|
-
_source/plugins/link/dialogs/link.js
245 245 246 246 // Find out whether we have any anchors in the editor. 247 247 var anchors = retval.anchors = [], 248 i tem;248 i, count, item; 249 249 250 250 // For some browsers we set contenteditable="false" on anchors, making document.anchors not to include them, so we must traverse the links manually (#7893). 251 251 if ( CKEDITOR.plugins.link.emptyAnchorFix ) … … 261 261 else 262 262 { 263 263 var anchorList = new CKEDITOR.dom.nodeList( editor.document.$.anchors ); 264 for ( vari = 0, count = anchorList.count(); i < count; i++ )264 for ( i = 0, count = anchorList.count(); i < count; i++ ) 265 265 { 266 266 item = anchorList.getItem( i ); 267 267 anchors[ i ] = { name : item.getAttribute( 'name' ), id : item.getAttribute( 'id' ) };