minor cleanup and tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-07-03 07:03:46 +04:00
parent 3081c537d1
commit 7780db4f8f

View File

@ -708,6 +708,7 @@ function exportPreviewsDialog(state, dfl){
dfl = dfl == null ? BASE_URL : dfl
// XXX make this more generic...
// tell the user what state are we exporting...
if(state == null){
state = toggleMarkedOnlyView('?') == 'on' ? 'marked images' : state
state = toggleSingleRibbonMode('?') == 'on' ? 'current ribbon' : state
@ -735,7 +736,7 @@ function exportPreviewsDialog(state, dfl){
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){
exportTo(
normalizePath(data[keys[2]]),