Fix state index of view_tree_state

changeset a1daf85d3a5a added the timestamp to the state but did not change the
index.
This commit is contained in:
Cédric Krier committed 2015-03-13 19:07:34 +01:00
1 parent 0777138add
commit b7b2fe92ac
1 file changed
+2 -2
+2 -2
View File
@@ -1358,8 +1358,8 @@
state_prm.done(function(state) {
var expanded_nodes, selected_nodes, record;
this.tree_states[parent_][view.children_field || null] = state;
expanded_nodes = state[0];
selected_nodes = state[1];
expanded_nodes = state[1];
selected_nodes = state[2];
if (view.view_type == 'tree') {
view.display(selected_nodes, expanded_nodes);
} else {