From d28401a2ec2d16379f68cfb0c1a2048ea138fa86 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 28 Dec 2017 04:05:25 +0300 Subject: [PATCH] notes and experiments... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/base.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ui (gen4)/features/base.js b/ui (gen4)/features/base.js index 8759b4d7..ddc0e787 100755 --- a/ui (gen4)/features/base.js +++ b/ui (gen4)/features/base.js @@ -1875,7 +1875,12 @@ module.CropActions = actions.Actions({ browseMode: 'uncrop', // XXX group gid - ribbon //getUndoState: function(data){ }, - //undo: function(data){}, + // XXX this does not account for: + // - location (order, ribbon, ribbon order) of removed images + // ...ribbon order is important when a ribbon got cleared... + // - keyword and ribbon gids + //undo: function(d){ + // this.addToCrop(d.args.length > 0 ? d.args : d.current) }, }, function(gids){ var that = this