fixed context on return from marked only mode...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-06-03 04:09:32 +04:00
parent 94e6027986
commit 0a1988a31e

View File

@ -52,7 +52,11 @@ function loadMarkedOnlyData(cmp, no_cleanout_marks){
// XXX name this in a better way...
function loadAllImages(){
var cur = DATA.current
DATA = ALL_DATA
// NOTE: if we do not do this the user will lose context every time
// returning from marks only view...
DATA.current = cur
reloadViewer()
return DATA
}
@ -246,6 +250,7 @@ function shiftMarkedImagesDown(mode, new_ribbon){
// XXX these are ribbon wise only (???)
// XXX this on first step this must pack all marked images
function horizontalShiftMarkedImages(direction){
// XXX
}
function shiftMarkedImagesLeft(){
return shiftMarkedImages('prev')