mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
84809a0e24
commit
be9bb9126b
@ -369,11 +369,7 @@ actions.Actions({
|
||||
if(!k.startsWith('_')
|
||||
&& this[k] != null
|
||||
&& this[k].json != null){
|
||||
res[k] = this[k].json()
|
||||
}
|
||||
}
|
||||
}
|
||||
}],
|
||||
res[k] = this[k].json() } } } }],
|
||||
|
||||
getImagePath: ['- System/',
|
||||
function(gid, type){
|
||||
@ -1389,12 +1385,7 @@ module.CropActions = actions.Actions({
|
||||
return c
|
||||
.json()
|
||||
.run(function(){
|
||||
delete this.tags })
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
}],
|
||||
delete this.tags }) }) } } } }],
|
||||
// load the crop stack if present...
|
||||
load: [function(state){
|
||||
return function(){
|
||||
|
||||
@ -302,7 +302,6 @@ var FileSystemLoaderActions = actions.Actions({
|
||||
var skipped = new Set()
|
||||
var paths = Object.keys(res)
|
||||
paths
|
||||
.sort()
|
||||
.forEach(function(p){
|
||||
// already removed...
|
||||
if(skipped.has(p) >= 0){
|
||||
@ -318,7 +317,7 @@ var FileSystemLoaderActions = actions.Actions({
|
||||
skipped.add(e)
|
||||
delete res[e] }) })
|
||||
// keep only the valid paths...
|
||||
paths = Object.keys(res)
|
||||
paths = Object.keys(res).sort()
|
||||
|
||||
//console.log('SKIPPING NESTED:', skipped.length)
|
||||
|
||||
@ -407,9 +406,7 @@ var FileSystemLoaderActions = actions.Actions({
|
||||
force_full_save
|
||||
// XXX remove as soon as merged index save is done...
|
||||
&& loaded.length == 1
|
||||
&& that.markChanged('all') })
|
||||
})
|
||||
}],
|
||||
&& that.markChanged('all') }) }) }],
|
||||
|
||||
// Get image(s) previews...
|
||||
//
|
||||
|
||||
@ -202,8 +202,7 @@ var MetadataReaderActions = actions.Actions({
|
||||
|
||||
this.images
|
||||
&& this.images.forEach(function(gid){
|
||||
q.enqueue('metadata', read(gid))
|
||||
})
|
||||
q.enqueue('metadata', read(gid)) })
|
||||
|
||||
return q }],
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user