Fix double pushState when browsing group nodes

Was calling displayNode() twice
This commit is contained in:
2016-09-30 18:06:33 +02:00
parent e2921c8da8
commit 001d310d76

View File

@@ -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);