notes and experiments...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-12-28 04:05:25 +03:00
parent 744620f79d
commit d28401a2ec

View File

@ -1875,7 +1875,12 @@ module.CropActions = actions.Actions({
browseMode: 'uncrop', browseMode: 'uncrop',
// XXX group gid - ribbon // XXX group gid - ribbon
//getUndoState: function(data){ }, //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){ function(gids){
var that = this var that = this