Ticket #4622: 4622.patch

File 4622.patch, 611 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/undo/plugin.js

     
    390390
    391391                        this.index = image.index;
    392392
    393                         this.currentImage = image;
     393                        // Update current image with the actual editor
     394                        // content, since actualy content may differ from
     395                        // the original snapshot due to dom change. (#4622)
     396                        this.snapshots.splice( this.index, 1, ( this.currentImage =  new Image( this.editor ) ) );
    394397
    395398                        this.fireChange();
    396399                },
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy