From 1ce86fd88d97a74ad90a18f057e58b1c68567faa Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 11 Feb 2022 17:17:59 +0300 Subject: [PATCH] ... Signed-off-by: Alex A. Naanou --- Viewer/features/core.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Viewer/features/core.js b/Viewer/features/core.js index f48e38d0..63700cf3 100755 --- a/Viewer/features/core.js +++ b/Viewer/features/core.js @@ -2094,7 +2094,6 @@ var JournalActions = actions.Actions({ // - should the undo action have side-effects on the // journal/rjournal or should we clean them out??? // (currently cleaned) - // XXX should we control what gets pushed to the journal??? // XXX should we run undo of every action that supports it in the chain??? // ...i.e. multiple extending actions can support undo // XXX will also need to handle other methods + aliases in chain... @@ -2116,7 +2115,7 @@ var JournalActions = actions.Actions({ return (this.journal && this.journal.length > 0) || 'disabled' }}, function(count=1){ var journal = this.journal.slice() || [] - var rjournal = + var rjournal = this.rjournal = (this.hasOwnProperty('rjournal') || this.rjournal) ? this.rjournal || []