Skip to content
Browse files

Deselect tree nodes when reacting to form load event (fixes #7401)

Multiselected nodes are only possible in batch mode,
which would never trigger a form load event.
  • Loading branch information...
1 parent 4a8236f commit 5a44ea2e207b396c8dbdb0baab65046403628647 @chillu chillu committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 admin/javascript/LeftAndMain.Tree.js
1 admin/javascript/LeftAndMain.Tree.js
@@ -307,6 +307,7 @@
if(id) {
node = this.getNodeByID(id);
if(node.length) {
+ this.jstree('deselect_all');
this.jstree('select_node', node);
} else {
// If form is showing an ID that doesn't exist in the tree,

0 comments on commit 5a44ea2

Please sign in to comment.
Something went wrong with that request. Please try again.