From 8dae204ea26827cb54bfa9fd77c10a8208296dd8 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 26 May 2013 03:41:13 +0400 Subject: [PATCH] minor fix... Signed-off-by: Alex A. Naanou --- ui/data.js | 2 +- ui/modes.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/data.js b/ui/data.js index e605f220..8b11496f 100755 --- a/ui/data.js +++ b/ui/data.js @@ -832,7 +832,7 @@ function openImage(){ // CEF if(window.CEF_runSystem != null){ // XXX if path is not present try and open the biggest preview... - return CEF_runSystem(IMAGES[getImageGID()].path) + return CEF_runSystem(normalizePath(IMAGES[getImageGID()].path, BASE_URL)) // PhoneGap } else if(false) { diff --git a/ui/modes.js b/ui/modes.js index 711ec818..b7d3508e 100755 --- a/ui/modes.js +++ b/ui/modes.js @@ -107,7 +107,6 @@ function toggleImageProportions(mode){ centerView(null, 'css') return 'viewer' } - }