mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Merge branch 'hackathon-treeview' of github.com:xwiki-labs/cryptpad into hackathon-treeview
This commit is contained in:
commit
955ea694b8
@ -471,6 +471,12 @@ define([
|
||||
}
|
||||
|
||||
$selectable.click(function() {
|
||||
if ($selection === $selectable) {
|
||||
$selection.removeClass('cp-tree-selected');
|
||||
selectedPath = false;
|
||||
teamId = config.teamId;
|
||||
return;
|
||||
}
|
||||
$selectable.addClass('cp-tree-selected');
|
||||
if ($selection) {
|
||||
$selection.removeClass('cp-tree-selected');
|
||||
@ -478,7 +484,6 @@ define([
|
||||
$selection = $selectable;
|
||||
selectedPath = itemPath;
|
||||
teamId = itemTeamId;
|
||||
console.log(itemPath.join('/'));
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user