From e41ea20ce4e2a572e3cda3a8ab74825cab58ebb1 Mon Sep 17 00:00:00 2001
From: Vincent Petry <pvince81@owncloud.com>
Date: Mon, 28 Oct 2013 20:24:06 +0100
Subject: [PATCH] Fixed clicking on the "Home" breadcrumb in the trash app

Clicking on the "home" breadcrumb now correctly brings the user back to
the files app.
---
 apps/files_trashbin/js/trash.js | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/apps/files_trashbin/js/trash.js b/apps/files_trashbin/js/trash.js
index 4e83afcdb0..4e6a1e93fa 100644
--- a/apps/files_trashbin/js/trash.js
+++ b/apps/files_trashbin/js/trash.js
@@ -228,9 +228,4 @@ function disableActions() {
 	$(".action").css("display", "none");
 	$(":input:checkbox").css("display", "none");
 }
-function onClickBreadcrumb(e){
-	var $el = $(e.target).closest('.crumb');
-	e.preventDefault();
-	FileList.changeDirectory(decodeURIComponent($el.data('dir')));
-}
 
-- 
GitLab