Ticket #4622: 4622.patch
File 4622.patch, 611 bytes (added by , 13 years ago) |
---|
-
_source/plugins/undo/plugin.js
390 390 391 391 this.index = image.index; 392 392 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 ) ) ); 394 397 395 398 this.fireChange(); 396 399 },