mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
added gid handling to collections...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
782b05ee96
commit
03df38478c
@ -737,7 +737,11 @@ var CollectionActions = actions.Actions({
|
|||||||
|
|
||||||
var state = collections[title]
|
var state = collections[title]
|
||||||
|
|
||||||
|
// build the JSON...
|
||||||
var s = res.collections[title] = { title: title }
|
var s = res.collections[title] = { title: title }
|
||||||
|
if(state.gid){
|
||||||
|
s.gid = state.gid
|
||||||
|
}
|
||||||
var data = ((mode == 'base' && state.crop_stack) ?
|
var data = ((mode == 'base' && state.crop_stack) ?
|
||||||
(state.crop_stack[0] || state.data)
|
(state.crop_stack[0] || state.data)
|
||||||
: state.data)
|
: state.data)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user