Fix an issue with the 'Properties' entry not always displayed in context menu

pull/1/head
yflory 8 years ago
parent ff60dd4399
commit 0c5a930cb9

@ -393,7 +393,8 @@ define([
// TODO: folder properties in the future?
hide.push($menu.find('a.properties'));
}
if (path && path.length > 4) {
// If we're in the trash, hide restore and properties for non-root elements
if ($menu.find('a.restore').length && path && path.length > 4) {
hide.push($menu.find('a.restore'));
hide.push($menu.find('a.properties'));
}

Loading…
Cancel
Save