mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-30 10:50:08 +00:00
fixed a bug in .location handling on .loadIndex(..)...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
c08b243b6a
commit
a0fea2e463
@ -172,14 +172,13 @@ var FileSystemLoaderActions = actions.Actions({
|
|||||||
|
|
||||||
logger && logger.emit('load index', index)
|
logger && logger.emit('load index', index)
|
||||||
|
|
||||||
|
that.load(index)
|
||||||
|
|
||||||
that.loaded_paths = loaded
|
that.loaded_paths = loaded
|
||||||
// XXX should we get the requested path or the base path currently loaded
|
|
||||||
that.__location = {
|
that.__location = {
|
||||||
path: loaded.length == 1 ? loaded[0] : path,
|
path: loaded.length == 1 ? loaded[0] : path,
|
||||||
method: 'loadIndex',
|
method: 'loadIndex',
|
||||||
}
|
}
|
||||||
|
|
||||||
that.load(index)
|
|
||||||
})
|
})
|
||||||
}],
|
}],
|
||||||
// XXX use the logger...
|
// XXX use the logger...
|
||||||
@ -568,6 +567,7 @@ var FileSystemWriterActions = actions.Actions({
|
|||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
|
||||||
|
// Mark data sections as changed...
|
||||||
//
|
//
|
||||||
// Mark everything changed...
|
// Mark everything changed...
|
||||||
// .markChanged('all')
|
// .markChanged('all')
|
||||||
@ -584,8 +584,10 @@ var FileSystemWriterActions = actions.Actions({
|
|||||||
// Mark image changed...
|
// Mark image changed...
|
||||||
// .markChanged(<gid>, ...)
|
// .markChanged(<gid>, ...)
|
||||||
//
|
//
|
||||||
// NOTE: when .changes is null (i.e. everything changed) then calling
|
//
|
||||||
// this with anything other than 'none' will have no effect.
|
// NOTE: when .changes is null (i.e. everything changed, marked via
|
||||||
|
// .markChanged('all')) then calling this with anything other
|
||||||
|
// than 'none' will have no effect.
|
||||||
markChanged: ['- System/',
|
markChanged: ['- System/',
|
||||||
function(){
|
function(){
|
||||||
var that = this
|
var that = this
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user