mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
added changes setting to .checkIndex()
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
45c54f931b
commit
e917c151fe
@ -910,6 +910,12 @@ module.FileSystemLoader = core.ImageGridFeatures.Feature({
|
||||
.markChanged('data')
|
||||
.markChanged('images', imgs.keys()) })
|
||||
}],
|
||||
['checkIndex',
|
||||
function(res){
|
||||
var that = this
|
||||
res.then(function(gids){
|
||||
gids.length > 0
|
||||
&& that.markChanged('images', gids) }) }],
|
||||
],
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user