Ticket #5447: 5447.patch

File 5447.patch, 503 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/link/dialogs/anchor.js

     
    8484                                                required: true,
    8585                                                validate : function()
    8686                                                {
    87                                                         if ( !this.getValue() )
     87                                                        if ( !this.getValue().match( /^[A-Za-z][-A-Za-z0-9_:.]+$/ ) )
    8888                                                        {
    8989                                                                alert( editor.lang.anchor.errorName );
    9090                                                                return false;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy