Ticket #6075: 6075.patch
File 6075.patch, 773 bytes (added by , 14 years ago) |
---|
-
_source/plugins/link/dialogs/link.js
1140 1140 element = null; 1141 1141 1142 1142 // Fill in all the relevant fields if there's already one link selected. 1143 if ( ( element = plugin.getSelectedLink( editor ) ) && element.hasAttribute( 'href') )1143 if ( ( element = plugin.getSelectedLink( editor ) ) && ( element.hasAttribute( 'href' ) || element.hasAttribute( 'cke_saved_href' ) ) ) 1144 1144 selection.selectElement( element ); 1145 1145 else if ( ( element = selection.getSelectedElement() ) && element.is( 'img' ) 1146 1146 && element.getAttribute( '_cke_real_element_type' )