Ticket #5711: 5711.patch

File 5711.patch, 933 bytes (added by WebSpellChecker.net, 14 years ago)
  • _source/plugins/scayt/plugin.js

     
    250250                }
    251251
    252252                // Override Image.equals method avoid CK snapshot module to add SCAYT markup to snapshots. (#5546)
    253                 var undoImagePrototype = CKEDITOR.plugins.undo.Image.prototype;
    254                 undoImagePrototype.equals =      CKEDITOR.tools.override( undoImagePrototype.equals, function( org )
     253                CKEDITOR.plugins.undo.Image.prototype.equals =   CKEDITOR.tools.override( CKEDITOR.plugins.undo.Image.prototype.equals, function( org )
    255254                {
    256255                        return function( otherImage )
    257256                        {
     
    263262                                {
    264263                                        this.contents = scayt_instance.reset( thisContents );
    265264                                        otherImage.contents = scayt_instance.reset( otherContents );
     265                                       
    266266                                }
    267267                               
    268268                                var retval = org.apply( this, arguments );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy