From 68d0bec3cb8a0d87059a8259df8c7abab3bed17c Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 16 Nov 2013 02:30:07 +0400 Subject: [PATCH] minor tweaks... Signed-off-by: Alex A. Naanou --- ui/ui.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/ui/ui.js b/ui/ui.js index dbfa8b09..df359a65 100755 --- a/ui/ui.js +++ b/ui/ui.js @@ -1054,13 +1054,16 @@ function cropImagesDialog(){ updateStatus('Crop...').show() - var alg = 'Crop:|'+ - 'Use Esc and Shift-Esc to exit crop modes.' + var alg = 'Crop: |'+ + 'Use Esc and Shift-Esc to exit crop modes.'+ + '\n\n'+ + 'NOTE: all drop modes will produce a single ribbon unless\n'+ + 'otherwise stated.' cfg = {} cfg[alg] = [ - 'Marked images (single ribbon)', 'Marked images', + 'Marked images (keep ribbons)', 'Current ribbon', 'Current ribbon and above' ] @@ -1072,11 +1075,12 @@ function cropImagesDialog(){ .done(function(res){ res = res[alg] - if(/Marked.*single ribbon/i.test(res)){ - var method = toggleMarkedOnlyView + // NOTE: this must be before the "simpler" text version... + if(/Marked.*keep ribbons/i.test(res)){ + var method = toggleMarkedOnlyWithRibbonsView } else if(/Marked/i.test(res)){ - var method = toggleMarkedOnlyWithRibbonsView + var method = toggleMarkedOnlyView } else if(/Current ribbon/i.test(res)){ var method = toggleSingleRibbonMode