Ticket #5228: 5228.patch
File 5228.patch, 679 bytes (added by , 15 years ago) |
---|
-
_source/plugins/link/dialogs/link.js
447 447 var protocolCmb = this.getDialog().getContentElement( 'info', 'protocol' ), 448 448 url = this.getValue(), 449 449 urlOnChangeProtocol = /^(http|https|ftp|news):\/\/(?=.)/gi, 450 urlOnChangeTestOther = /^((javascript:)|[#\/\. ])/gi;450 urlOnChangeTestOther = /^((javascript:)|[#\/\.\?])/gi; 451 451 452 452 var protocol = urlOnChangeProtocol.exec( url ); 453 453 if ( protocol )