Ticket #9289: 9289.patch

File 9289.patch, 1.1 KB (added by Frederico Caldeira Knabben, 12 years ago)
  • _source/lang/en.js

     
    120120                alignTop                : 'Top',
    121121                alignMiddle             : 'Middle',
    122122                alignBottom             : 'Bottom',
     123                invalidValue    : 'Invalid value.',
    123124                invalidHeight   : 'Height must be a number.',
    124125                invalidWidth    : 'Width must be a number.',
    125126                invalidCssLength        : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).',
  • _source/plugins/link/dialogs/link.js

     
    503503                                                                                                        dialog.getValueOf( 'info', 'linkType' ) != 'url' )
    504504                                                                                                return true;
    505505
     506                                                                                        if ( (/javascript\:/).test( this.getValue() ) ) {
     507                                                                                                alert( commonLang.invalidValue );
     508                                                                                                return false;
     509                                                                                        }
     510
    506511                                                                                        if ( this.getDialog().fakeObj ) // Edit Anchor.
    507512                                                                                                return true;
    508513
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy