Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 5a44ea2e207b396c8dbdb0baab65046403628647 1 parent 4a8236f
@chillu chillu authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  admin/javascript/LeftAndMain.Tree.js
View
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,
Please sign in to comment.
Something went wrong with that request. Please try again.