mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
d404dee472
commit
4dae88445b
@ -285,7 +285,6 @@ if(window.CEF_dumpJSON != null){
|
||||
}
|
||||
|
||||
// XXX should this be sync???
|
||||
// XXX we are cheating here right now...
|
||||
/*
|
||||
window.makeImageGID = function(path, make_text_gid){
|
||||
|
||||
@ -294,7 +293,7 @@ if(window.CEF_dumpJSON != null){
|
||||
var artist =
|
||||
// format: "20130102-122315"
|
||||
var date =
|
||||
var name = path.split(/[\\\/]/).pop()
|
||||
var name = path.split(/[\\\/]/).pop().split('.')[0]
|
||||
|
||||
var text_gid = artist +'-'+ date +'-'+ name
|
||||
|
||||
|
||||
4
ui/ui.js
4
ui/ui.js
@ -812,7 +812,7 @@ function loadDirectoryDialog(dfl){
|
||||
|
||||
formDialog(null, 'Path to open', {
|
||||
'': {ndir: dfl},
|
||||
'Precess previews': false,
|
||||
'Precess previews': true,
|
||||
}, 'OK', 'loadDirectoryDialog')
|
||||
.done(function(data){
|
||||
var path = normalizePath(data[''].trim())
|
||||
@ -826,7 +826,7 @@ function loadDirectoryDialog(dfl){
|
||||
// do the loading...
|
||||
statusNotify(loadDir(path))
|
||||
.done(function(){
|
||||
if(!process_previews){
|
||||
if(process_previews){
|
||||
showStatusQ('Previews: processing started...')
|
||||
// generate/attach previews...
|
||||
makeImagesPreviewsQ(DATA.order)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user