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