From 15b915b4b5fd7b1d86a99317515718f196dd8b01 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 13 Jun 2016 17:22:14 +0300 Subject: [PATCH] experimenting with a comment framework... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/filesystem.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ui (gen4)/features/filesystem.js b/ui (gen4)/features/filesystem.js index 7e931e82..08fbdca1 100755 --- a/ui (gen4)/features/filesystem.js +++ b/ui (gen4)/features/filesystem.js @@ -857,6 +857,24 @@ module.FileSystemSaveHistory = core.ImageGridFeatures.Feature({ actions: FileSystemSaveHistoryActions, handlers: [ + // XXX save/load comments to: + // /comments/-save.json + // XXX might be a good idea to make this a more generic comment + // framework... + // .comments. - specific comment set... + ['saveIndex', + function(){ + // XXX if .savecomments changed, save it... + }], + ['loadIndex', + function(){ + // XXX load save comments... + }], + + + // XXX legacy comment handling.... + // ...remove this as soon as the new scheme is done... + // save/resore .savecomments // ['json',