]> source.dussan.org Git - nextcloud-server.git/commit
Do not call changeDirectory() when no dir set on breadcrumb
authorVincent Petry <pvince81@owncloud.com>
Fri, 4 Oct 2013 15:49:42 +0000 (17:49 +0200)
committerVincent Petry <pvince81@owncloud.com>
Fri, 4 Oct 2013 15:49:42 +0000 (17:49 +0200)
commit0736bfb43a0ecc81ba1eb38c4b32fea8ed454957
tree2a4c37ff8c4af708576c4d2152b39270e48f85d1
parentfd34c969d233724399651f6481f32d5c7c1ee18b
Do not call changeDirectory() when no dir set on breadcrumb

Some apps like the files_trashbin app do not set a directory on its
"home" breadcrumb link.

This fix makes sure that the click event doesn't do anything in that
case and lets the browser open the link.

This fixes the "home" icon in the trashbin app which now correctly
reopens the files app.
apps/files/js/files.js