mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-12-27 05:21:58 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
bda241f7ad
commit
449af9bd1d
18
ui/ui.js
18
ui/ui.js
@ -932,9 +932,23 @@ function exportPreviewsDialog(state, dfl){
|
||||
// XXX make this more generic...
|
||||
// tell the user what state are we exporting...
|
||||
if(state == null){
|
||||
var imgs = 0
|
||||
// NOTE: we are not using order or image count as these sets may
|
||||
// be larger that the current crop...
|
||||
DATA.ribbons.map(function(e){
|
||||
imgs += e.length
|
||||
})
|
||||
state = toggleSingleImageMode('?') == 'on' ? 'current image' : state
|
||||
state = state == null && isViewCropped() ? 'current cropped view' : state
|
||||
state = state == null ? 'all images' : state
|
||||
state = state == null && isViewCropped() ?
|
||||
'cropped view: '+
|
||||
imgs+' images in '+
|
||||
DATA.ribbons.length+' ribbons'
|
||||
: state
|
||||
state = state == null ?
|
||||
'all: '+
|
||||
imgs+' images in '+
|
||||
DATA.ribbons.length+' ribbons'
|
||||
: state
|
||||
}
|
||||
|
||||
var res = $.Deferred()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user