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:
1 parent
0777138add
commit
b7b2fe92ac
1 file changed
+2
-2
+2
-2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user