diff --git a/ui (gen4)/features/ui-status.js b/ui (gen4)/features/ui-status.js index 1da7663f..eb8279ec 100755 --- a/ui (gen4)/features/ui-status.js +++ b/ui (gen4)/features/ui-status.js @@ -54,7 +54,7 @@ var StatusBarActions = actions.Actions({ 'status-bar-items': [ 'index', 'gid', - //'path', + 'path', // separates left/right aligned elements... '---', @@ -226,10 +226,12 @@ var StatusBarActions = actions.Actions({ text = gid || '-' // path... - // XXX + // XXX use generic, platform independent path processing... } else if(type == 'path'){ - text = img && img.path || '---' - txt = text + text = (img && ((img.base_path || '') +'/'+ img.path) || '---') + // remove /./ + .replace(/[\\\/]\.[\\\/]/, '/') + txt = text.split(/[\\\/]/).pop() } item.find('.shown').text(txt) diff --git a/ui (gen4)/features/ui.js b/ui (gen4)/features/ui.js index ec29f88b..5eedb3fa 100755 --- a/ui (gen4)/features/ui.js +++ b/ui (gen4)/features/ui.js @@ -1132,7 +1132,7 @@ var PartialRibbonsActions = actions.Actions({ && that.images.getBestPreview(c, size, true).url } - // get a stet of paths... + // get a set of paths... // NOTE: we are also ordering the resulting gids by their // distance from target... var _get = function(i, lst, source, radius, oddity, step){ @@ -1261,7 +1261,6 @@ var PartialRibbonsActions = actions.Actions({ // no threshold means force load... if(threshold == 0 // the target is not loaded... - //|| this.ribbons.getImage(target).length == 0 || img.length == 0 // passed hard threshold on the right... || (nl < w && na > nl)