From e41ea20ce4e2a572e3cda3a8ab74825cab58ebb1 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 28 Oct 2013 20:24:06 +0100 Subject: 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(-) (limited to 'apps/files_trashbin/js') diff --git a/apps/files_trashbin/js/trash.js b/apps/files_trashbin/js/trash.js index 4e83afcdb06..4e6a1e93fa4 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'))); -} -- cgit v1.2.3