From 3e17fbe30dbf2a0e99c7aca83d855fb8df46d11b Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 13 Dec 2013 14:34:26 +0100 Subject: always show home breadcrumb in files view --- core/js/js.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/js') diff --git a/core/js/js.js b/core/js/js.js index d9b3b54e0a1..66faa48f85f 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -471,11 +471,11 @@ OC.Breadcrumb={ }, _show:function(container, dir, leafname, leaflink){ var self = this; - + this._clear(container); - + // show home + path in subdirectories - if (dir && dir !== '/') { + if (dir) { //add home var link = OC.linkTo('files','index.php'); @@ -502,7 +502,7 @@ OC.Breadcrumb={ } }); } - + //add leafname if (leafname && leaflink) { this._push(container, leafname, leaflink); -- cgit v1.2.3