Skip to content
Snippets Groups Projects
Unverified Commit 4616489f authored by Christoph Wurst's avatar Christoph Wurst Committed by GitHub
Browse files

Merge pull request #619 from nextcloud/fix/folder-click

Fix subfolder click event propagation
parents cf414d59 e2ee56e9
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,10 @@ define(function(require) {
},
loadFolder: function(e) {
if (e.isDefaultPrevented()) {
// Event has been handled already, e.g. by a subfolder
return;
}
e.preventDefault();
// TODO: account should be property of folder
var account = require('state').accounts.get(this.model.get('accountId'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment