Ticket #7893: 7893.patch
File 7893.patch, 858 bytes (added by , 13 years ago) |
---|
-
_source/plugins/link/dialogs/link.js
254 254 anchors[ i ] = { name : item.getAttribute( 'name' ), id : item.getAttribute( 'id' ) }; 255 255 } 256 256 257 if ( CKEDITOR.plugins.link.fakeAnchor ) 258 { 259 var imgs = editor.document.getElementsByTag( 'img' ), anchor; 260 for ( i = 0, count = imgs.count(); i < count; i++ ) 261 { 262 if ( ( anchor = CKEDITOR.plugins.link.tryRestoreFakeAnchor( editor, imgs.getItem( i ) ) ) ) 263 anchors.push( { name : anchor.getAttribute( 'name' ), id : anchor.getAttribute( 'id' ) } ); 264 } 265 } 266 257 267 // Record down the selected element in the dialog. 258 268 this._.selectedElement = element; 259 269 return retval;