From 19c2b2028ea394cb2c9d8f10c006ac1230ad2b1a Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 30 Jun 2016 05:23:46 +0300 Subject: [PATCH] bugfix... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui-status.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui (gen4)/features/ui-status.js b/ui (gen4)/features/ui-status.js index bfddb1ca..d448d587 100755 --- a/ui (gen4)/features/ui-status.js +++ b/ui (gen4)/features/ui-status.js @@ -274,7 +274,8 @@ var StatusBarActions = actions.Actions({ // path... // XXX use generic, platform independent path processing... } else if(type == 'path'){ - text = (img && ((img.base_path || '') +'/'+ img.path) || '---') + // XXX revise this... + text = (img && img.path && ((img.base_path || '') +'/'+ img.path) || '---') // remove /./ .replace(/[\\\/]\.[\\\/]/, '/') txt = img && ((img.name || '') + (img.ext || '')) || text.split(/[\\\/]/).pop()