From 03df38478c770f3d88d4cb1cfcc9c383634f50e9 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 16 Sep 2017 21:17:50 +0300 Subject: [PATCH] added gid handling to collections... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/collections.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui (gen4)/features/collections.js b/ui (gen4)/features/collections.js index f409dfd9..d09b3404 100755 --- a/ui (gen4)/features/collections.js +++ b/ui (gen4)/features/collections.js @@ -737,7 +737,11 @@ var CollectionActions = actions.Actions({ var state = collections[title] + // build the JSON... var s = res.collections[title] = { title: title } + if(state.gid){ + s.gid = state.gid + } var data = ((mode == 'base' && state.crop_stack) ? (state.crop_stack[0] || state.data) : state.data)