mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
added reporting on export...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e765bd34bf
commit
5ffb3ebde3
11
ui/files.js
11
ui/files.js
@ -672,7 +672,16 @@ function exportTo(path, im_name, dir_name, size){
|
||||
dest = path +'/'+ dest
|
||||
|
||||
// copy...
|
||||
copyFile(src, dest)
|
||||
// NOTE: the sad smily face here is here for JS compatibility ;)
|
||||
;(function(src, dest){
|
||||
copyFile(src, dest)
|
||||
.done(function(){
|
||||
console.log(src, 'done.')
|
||||
})
|
||||
.fail(function(err){
|
||||
console.warn(src, 'err:', err)
|
||||
})
|
||||
})(src, dest)
|
||||
}
|
||||
|
||||
path = normalizePath(path +'/'+ dir_name)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user