mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-01 11:50:07 +00:00
minor cleanup and tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
3081c537d1
commit
7780db4f8f
3
ui/ui.js
3
ui/ui.js
@ -708,6 +708,7 @@ function exportPreviewsDialog(state, dfl){
|
|||||||
dfl = dfl == null ? BASE_URL : dfl
|
dfl = dfl == null ? BASE_URL : dfl
|
||||||
|
|
||||||
// XXX make this more generic...
|
// XXX make this more generic...
|
||||||
|
// tell the user what state are we exporting...
|
||||||
if(state == null){
|
if(state == null){
|
||||||
state = toggleMarkedOnlyView('?') == 'on' ? 'marked images' : state
|
state = toggleMarkedOnlyView('?') == 'on' ? 'marked images' : state
|
||||||
state = toggleSingleRibbonMode('?') == 'on' ? 'current ribbon' : state
|
state = toggleSingleRibbonMode('?') == 'on' ? 'current ribbon' : state
|
||||||
@ -735,7 +736,7 @@ function exportPreviewsDialog(state, dfl){
|
|||||||
|
|
||||||
var keys = Object.keys(cfg)
|
var keys = Object.keys(cfg)
|
||||||
|
|
||||||
formDialog(null, '<b>Export source:</b> '+ state +'.', cfg, 'OK', 'exportPreviewsDialog')
|
formDialog(null, '<b>Export:</b> '+ state +'.', cfg, 'OK', 'exportPreviewsDialog')
|
||||||
.done(function(data){
|
.done(function(data){
|
||||||
exportTo(
|
exportTo(
|
||||||
normalizePath(data[keys[2]]),
|
normalizePath(data[keys[2]]),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user