mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-31 19:30:07 +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 should this be sync???
|
||||||
// XXX we are cheating here right now...
|
|
||||||
/*
|
/*
|
||||||
window.makeImageGID = function(path, make_text_gid){
|
window.makeImageGID = function(path, make_text_gid){
|
||||||
|
|
||||||
@ -294,7 +293,7 @@ if(window.CEF_dumpJSON != null){
|
|||||||
var artist =
|
var artist =
|
||||||
// format: "20130102-122315"
|
// format: "20130102-122315"
|
||||||
var date =
|
var date =
|
||||||
var name = path.split(/[\\\/]/).pop()
|
var name = path.split(/[\\\/]/).pop().split('.')[0]
|
||||||
|
|
||||||
var text_gid = artist +'-'+ date +'-'+ name
|
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', {
|
formDialog(null, 'Path to open', {
|
||||||
'': {ndir: dfl},
|
'': {ndir: dfl},
|
||||||
'Precess previews': false,
|
'Precess previews': true,
|
||||||
}, 'OK', 'loadDirectoryDialog')
|
}, 'OK', 'loadDirectoryDialog')
|
||||||
.done(function(data){
|
.done(function(data){
|
||||||
var path = normalizePath(data[''].trim())
|
var path = normalizePath(data[''].trim())
|
||||||
@ -826,7 +826,7 @@ function loadDirectoryDialog(dfl){
|
|||||||
// do the loading...
|
// do the loading...
|
||||||
statusNotify(loadDir(path))
|
statusNotify(loadDir(path))
|
||||||
.done(function(){
|
.done(function(){
|
||||||
if(!process_previews){
|
if(process_previews){
|
||||||
showStatusQ('Previews: processing started...')
|
showStatusQ('Previews: processing started...')
|
||||||
// generate/attach previews...
|
// generate/attach previews...
|
||||||
makeImagesPreviewsQ(DATA.order)
|
makeImagesPreviewsQ(DATA.order)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user