Ticket #6845: 6845.patch
File 6845.patch, 635 bytes (added by , 13 years ago) |
---|
-
_source/plugins/link/dialogs/link.js
1174 1174 { 1175 1175 case 'url': 1176 1176 var protocol = ( data.url && data.url.protocol != undefined ) ? data.url.protocol : 'http://', 1177 url = ( data.url && data.url.url) || '';1177 url = ( data.url && CKEDITOR.tools.trim( data.url.url ) ) || ''; 1178 1178 attributes[ 'data-cke-saved-href' ] = ( url.indexOf( '/' ) === 0 ) ? url : protocol + url; 1179 1179 break; 1180 1180 case 'anchor':