diff --git a/suite/common/directory/directory.js b/suite/common/directory/directory.js index cfdbf8f5341b..0177bc4ad3f8 100644 --- a/suite/common/directory/directory.js +++ b/suite/common/directory/directory.js @@ -76,7 +76,8 @@ function OnClick(event) // directories. var type = treeitem.getAttribute('type'); - if (targetclass == 'filename') { + if (targetclass.indexOf('filename') >= 0) + { var url = treeitem.getAttribute('id'); debug('navigating to ' + url + '\n');