{"action":"created","issue":{"url":"https://api.github.com/repos/arvindr21/jsTree-directive/issues/19","labels_url":"https://api.github.com/repos/arvindr21/jsTree-directive/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/arvindr21/jsTree-directive/issues/19/comments","events_url":"https://api.github.com/repos/arvindr21/jsTree-directive/issues/19/events","html_url":"https://github.com/arvindr21/jsTree-directive/issues/19","id":62074111,"number":19,"title":"Issue with 2 trees, one of them loaded with state plugin","user":{"login":"yoyoprs","id":5459596,"avatar_url":"https://avatars.githubusercontent.com/u/5459596?v=3","gravatar_id":"","url":"https://api.github.com/users/yoyoprs","html_url":"https://github.com/yoyoprs","followers_url":"https://api.github.com/users/yoyoprs/followers","following_url":"https://api.github.com/users/yoyoprs/following{/other_user}","gists_url":"https://api.github.com/users/yoyoprs/gists{/gist_id}","starred_url":"https://api.github.com/users/yoyoprs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoyoprs/subscriptions","organizations_url":"https://api.github.com/users/yoyoprs/orgs","repos_url":"https://api.github.com/users/yoyoprs/repos","events_url":"https://api.github.com/users/yoyoprs/events{/privacy}","received_events_url":"https://api.github.com/users/yoyoprs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-16T12:59:51Z","updated_at":"2015-03-18T19:18:56Z","closed_at":null,"body":"If multiple trees are loaded and one of them will have the state parameter.\r\nErrors between the trees occur when traverses the same folders.\r\n\r\nTypeError: a.state is undefined\r\n...d:function(a){return a=this.get_node(a),a&&a.state.loaded},is_loading:function(a...\r\n\r\nor\r\n\r\nTypeError: this._model.data[b].state is undefined\r\n...model.data.hasOwnProperty(b)&&\"#\"!==b&&(this._model.data[b].state.opened&&a.core...\r\n\t\r\n"},"comment":{"url":"https://api.github.com/repos/arvindr21/jsTree-directive/issues/comments/83127672","html_url":"https://github.com/arvindr21/jsTree-directive/issues/19#issuecomment-83127672","issue_url":"https://api.github.com/repos/arvindr21/jsTree-directive/issues/19","id":83127672,"user":{"login":"arvindr21","id":2562992,"avatar_url":"https://avatars.githubusercontent.com/u/2562992?v=3","gravatar_id":"","url":"https://api.github.com/users/arvindr21","html_url":"https://github.com/arvindr21","followers_url":"https://api.github.com/users/arvindr21/followers","following_url":"https://api.github.com/users/arvindr21/following{/other_user}","gists_url":"https://api.github.com/users/arvindr21/gists{/gist_id}","starred_url":"https://api.github.com/users/arvindr21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvindr21/subscriptions","organizations_url":"https://api.github.com/users/arvindr21/orgs","repos_url":"https://api.github.com/users/arvindr21/repos","events_url":"https://api.github.com/users/arvindr21/events{/privacy}","received_events_url":"https://api.github.com/users/arvindr21/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T19:18:56Z","updated_at":"2015-03-18T19:18:56Z","body":"As of now, I do not have a solution for this. May be you could save last opened children nodes in local storage and open the tree nodes till this level recursively? I don't know, may not be the correct way to do it.\r\n\r\nDo let me know if you find a fix for this. Thanks!"}}