Fix double pushState when browsing group nodes
Was calling displayNode() twice
This commit is contained in:
@@ -177,7 +177,6 @@
|
|||||||
// that select_node on jstree works as expected, preventing the node to be
|
// that select_node on jstree works as expected, preventing the node to be
|
||||||
// loaded twice.
|
// loaded twice.
|
||||||
Cookies.set('bcloud_current_node_id', nodeId);
|
Cookies.set('bcloud_current_node_id', nodeId);
|
||||||
displayNode(nodeId);
|
|
||||||
|
|
||||||
// Update tree with current selection
|
// Update tree with current selection
|
||||||
var jstree = $('#project_tree').jstree(true);
|
var jstree = $('#project_tree').jstree(true);
|
||||||
|
Reference in New Issue
Block a user