From: soufiane Date: Thu, 4 Apr 2024 13:15:48 +0000 (+0200) Subject: wait #6788 @0:10 mettre à jour la preview au undo et redo X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f3cfe08d1b35adeca9c4604ecaa5c0767d61fc6a;p=fluidbook-toolbox.git wait #6788 @0:10 mettre à jour la preview au undo et redo --- diff --git a/resources/linkeditor/js/linkeditor.undo.js b/resources/linkeditor/js/linkeditor.undo.js index bbbbf24e1..c59b1b371 100644 --- a/resources/linkeditor/js/linkeditor.undo.js +++ b/resources/linkeditor/js/linkeditor.undo.js @@ -104,6 +104,7 @@ LinkeditorUndo.prototype = { //console.log('undo : current index', index, 'states length', this.states[this.linkeditor.getCurrentPage()].length); this.updateIconsStates(); + this.linkeditor.links.setPreview(); }, redo: function () { @@ -123,6 +124,7 @@ LinkeditorUndo.prototype = { //console.log('redo : current index', index, 'states length', this.states[this.linkeditor.getCurrentPage()].length); this.updateIconsStates(); + this.linkeditor.links.setPreview(); } }