From 0a1988a31e1fc3dfd7026b3cbb6102e4c3660f1d Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 3 Jun 2013 04:09:32 +0400 Subject: [PATCH] fixed context on return from marked only mode... Signed-off-by: Alex A. Naanou --- ui/marks.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/marks.js b/ui/marks.js index 895b51b8..a32abb47 100755 --- a/ui/marks.js +++ b/ui/marks.js @@ -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')