mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
0fdea710a7
commit
19c2b2028e
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user