{"action":"created","comment":{"url":"https://api.github.com/repos/camptocamp/cgxp/pulls/comments/63024938","id":63024938,"diff_hunk":"@@ -404,6 +411,17 @@ cgxp.tree.LayerTree = Ext.extend(Ext.tree.TreePanel, {\n \n                 var timeWidget;\n                 if (item.time) {\n+                    if (this.initialState && this.initialState['time_' + item.name]) {\n+                      var times = this.initialState['time_' + item.name].split('/');\n+                      if (times.length === 2) {","path":"core/src/script/CGXP/widgets/tree/LayerTree.js","position":null,"original_position":20,"commit_id":"569110df1c7b9737e75e873c3c7198acf5d83e54","original_commit_id":"5b8a85ca00618f42514ba765825adc4efde75f52","user":{"login":"fredj","id":100959,"avatar_url":"https://avatars.githubusercontent.com/u/100959?v=3","gravatar_id":"","url":"https://api.github.com/users/fredj","html_url":"https://github.com/fredj","followers_url":"https://api.github.com/users/fredj/followers","following_url":"https://api.github.com/users/fredj/following{/other_user}","gists_url":"https://api.github.com/users/fredj/gists{/gist_id}","starred_url":"https://api.github.com/users/fredj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredj/subscriptions","organizations_url":"https://api.github.com/users/fredj/orgs","repos_url":"https://api.github.com/users/fredj/repos","events_url":"https://api.github.com/users/fredj/events{/privacy}","received_events_url":"https://api.github.com/users/fredj/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2016-05-12T14:01:26Z","updated_at":"2016-05-12T14:01:26Z","html_url":"https://github.com/camptocamp/cgxp/pull/1095#discussion_r63024938","pull_request_url":"https://api.github.com/repos/camptocamp/cgxp/pulls/1095","_links":{"self":{"href":"https://api.github.com/repos/camptocamp/cgxp/pulls/comments/63024938"},"html":{"href":"https://github.com/camptocamp/cgxp/pull/1095#discussion_r63024938"},"pull_request":{"href":"https://api.github.com/repos/camptocamp/cgxp/pulls/1095"}}},"pull_request":{"url":"https://api.github.com/repos/camptocamp/cgxp/pulls/1095","id":69829235,"html_url":"https://github.com/camptocamp/cgxp/pull/1095","diff_url":"https://github.com/camptocamp/cgxp/pull/1095.diff","patch_url":"https://github.com/camptocamp/cgxp/pull/1095.patch","issue_url":"https://api.github.com/repos/camptocamp/cgxp/issues/1095","number":1095,"state":"open","locked":false,"title":"Add tree_time_[my_group] permalink support","user":{"login":"fredj","id":100959,"avatar_url":"https://avatars.githubusercontent.com/u/100959?v=3","gravatar_id":"","url":"https://api.github.com/users/fredj","html_url":"https://github.com/fredj","followers_url":"https://api.github.com/users/fredj/followers","following_url":"https://api.github.com/users/fredj/following{/other_user}","gists_url":"https://api.github.com/users/fredj/gists{/gist_id}","starred_url":"https://api.github.com/users/fredj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredj/subscriptions","organizations_url":"https://api.github.com/users/fredj/orgs","repos_url":"https://api.github.com/users/fredj/repos","events_url":"https://api.github.com/users/fredj/events{/privacy}","received_events_url":"https://api.github.com/users/fredj/received_events","type":"User","site_admin":false},"body":"work in progress","created_at":"2016-05-12T12:40:50Z","updated_at":"2016-05-12T14:01:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b352875018f981500166efab79226efaa3b2ae56","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/camptocamp/cgxp/pulls/1095/commits","review_comments_url":"https://api.github.com/repos/camptocamp/cgxp/pulls/1095/comments","review_comment_url":"https://api.github.com/repos/camptocamp/cgxp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/camptocamp/cgxp/issues/1095/comments","statuses_url":"https://api.github.com/repos/camptocamp/cgxp/statuses/569110df1c7b9737e75e873c3c7198acf5d83e54","head":{"label":"fredj:time_permalink","ref":"time_permalink","sha":"569110df1c7b9737e75e873c3c7198acf5d83e54","user":{"login":"fredj","id":100959,"avatar_url":"https://avatars.githubusercontent.com/u/100959?v=3","gravatar_id":"","url":"https://api.github.com/users/fredj","html_url":"https://github.com/fredj","followers_url":"https://api.github.com/users/fredj/followers","following_url":"https://api.github.com/users/fredj/following{/other_user}","gists_url":"https://api.github.com/users/fredj/gists{/gist_id}","starred_url":"https://api.github.com/users/fredj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredj/subscriptions","organizations_url":"https://api.github.com/users/fredj/orgs","repos_url":"https://api.github.com/users/fredj/repos","events_url":"https://api.github.com/users/fredj/events{/privacy}","received_events_url":"https://api.github.com/users/fredj/received_events","type":"User","site_admin":false},"repo":{"id":2940093,"name":"cgxp","full_name":"fredj/cgxp","owner":{"login":"fredj","id":100959,"avatar_url":"https://avatars.githubusercontent.com/u/100959?v=3","gravatar_id":"","url":"https://api.github.com/users/fredj","html_url":"https://github.com/fredj","followers_url":"https://api.github.com/users/fredj/followers","following_url":"https://api.github.com/users/fredj/following{/other_user}","gists_url":"https://api.github.com/users/fredj/gists{/gist_id}","starred_url":"https://api.github.com/users/fredj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredj/subscriptions","organizations_url":"https://api.github.com/users/fredj/orgs","repos_url":"https://api.github.com/users/fredj/repos","events_url":"https://api.github.com/users/fredj/events{/privacy}","received_events_url":"https://api.github.com/users/fredj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fredj/cgxp","description":"","fork":true,"url":"https://api.github.com/repos/fredj/cgxp","forks_url":"https://api.github.com/repos/fredj/cgxp/forks","keys_url":"https://api.github.com/repos/fredj/cgxp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fredj/cgxp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fredj/cgxp/teams","hooks_url":"https://api.github.com/repos/fredj/cgxp/hooks","issue_events_url":"https://api.github.com/repos/fredj/cgxp/issues/events{/number}","events_url":"https://api.github.com/repos/fredj/cgxp/events","assignees_url":"https://api.github.com/repos/fredj/cgxp/assignees{/user}","branches_url":"https://api.github.com/repos/fredj/cgxp/branches{/branch}","tags_url":"https://api.github.com/repos/fredj/cgxp/tags","blobs_url":"https://api.github.com/repos/fredj/cgxp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fredj/cgxp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fredj/cgxp/git/refs{/sha}","trees_url":"https://api.github.com/repos/fredj/cgxp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fredj/cgxp/statuses/{sha}","languages_url":"https://api.github.com/repos/fredj/cgxp/languages","stargazers_url":"https://api.github.com/repos/fredj/cgxp/stargazers","contributors_url":"https://api.github.com/repos/fredj/cgxp/contributors","subscribers_url":"https://api.github.com/repos/fredj/cgxp/subscribers","subscription_url":"https://api.github.com/repos/fredj/cgxp/subscription","commits_url":"https://api.github.com/repos/fredj/cgxp/commits{/sha}","git_commits_url":"https://api.github.com/repos/fredj/cgxp/git/commits{/sha}","comments_url":"https://api.github.com/repos/fredj/cgxp/comments{/number}","issue_comment_url":"https://api.github.com/repos/fredj/cgxp/issues/comments{/number}","contents_url":"https://api.github.com/repos/fredj/cgxp/contents/{+path}","compare_url":"https://api.github.com/repos/fredj/cgxp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fredj/cgxp/merges","archive_url":"https://api.github.com/repos/fredj/cgxp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fredj/cgxp/downloads","issues_url":"https://api.github.com/repos/fredj/cgxp/issues{/number}","pulls_url":"https://api.github.com/repos/fredj/cgxp/pulls{/number}","milestones_url":"https://api.github.com/repos/fredj/cgxp/milestones{/number}","notifications_url":"https://api.github.com/repos/fredj/cgxp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fredj/cgxp/labels{/name}","releases_url":"https://api.github.com/repos/fredj/cgxp/releases{/id}","deployments_url":"https://api.github.com/repos/fredj/cgxp/deployments","created_at":"2011-12-08T13:08:57Z","updated_at":"2013-01-04T20:16:05Z","pushed_at":"2016-05-12T14:01:13Z","git_url":"git://github.com/fredj/cgxp.git","ssh_url":"git@github.com:fredj/cgxp.git","clone_url":"https://github.com/fredj/cgxp.git","svn_url":"https://github.com/fredj/cgxp","homepage":"","size":18540,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"camptocamp:master","ref":"master","sha":"fe365b9ad72b3d097a0f34734db4f775fe860424","user":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"repo":{"id":2780345,"name":"cgxp","full_name":"camptocamp/cgxp","owner":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/camptocamp/cgxp","description":"","fork":false,"url":"https://api.github.com/repos/camptocamp/cgxp","forks_url":"https://api.github.com/repos/camptocamp/cgxp/forks","keys_url":"https://api.github.com/repos/camptocamp/cgxp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/camptocamp/cgxp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/camptocamp/cgxp/teams","hooks_url":"https://api.github.com/repos/camptocamp/cgxp/hooks","issue_events_url":"https://api.github.com/repos/camptocamp/cgxp/issues/events{/number}","events_url":"https://api.github.com/repos/camptocamp/cgxp/events","assignees_url":"https://api.github.com/repos/camptocamp/cgxp/assignees{/user}","branches_url":"https://api.github.com/repos/camptocamp/cgxp/branches{/branch}","tags_url":"https://api.github.com/repos/camptocamp/cgxp/tags","blobs_url":"https://api.github.com/repos/camptocamp/cgxp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/camptocamp/cgxp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/camptocamp/cgxp/git/refs{/sha}","trees_url":"https://api.github.com/repos/camptocamp/cgxp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/camptocamp/cgxp/statuses/{sha}","languages_url":"https://api.github.com/repos/camptocamp/cgxp/languages","stargazers_url":"https://api.github.com/repos/camptocamp/cgxp/stargazers","contributors_url":"https://api.github.com/repos/camptocamp/cgxp/contributors","subscribers_url":"https://api.github.com/repos/camptocamp/cgxp/subscribers","subscription_url":"https://api.github.com/repos/camptocamp/cgxp/subscription","commits_url":"https://api.github.com/repos/camptocamp/cgxp/commits{/sha}","git_commits_url":"https://api.github.com/repos/camptocamp/cgxp/git/commits{/sha}","comments_url":"https://api.github.com/repos/camptocamp/cgxp/comments{/number}","issue_comment_url":"https://api.github.com/repos/camptocamp/cgxp/issues/comments{/number}","contents_url":"https://api.github.com/repos/camptocamp/cgxp/contents/{+path}","compare_url":"https://api.github.com/repos/camptocamp/cgxp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/camptocamp/cgxp/merges","archive_url":"https://api.github.com/repos/camptocamp/cgxp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/camptocamp/cgxp/downloads","issues_url":"https://api.github.com/repos/camptocamp/cgxp/issues{/number}","pulls_url":"https://api.github.com/repos/camptocamp/cgxp/pulls{/number}","milestones_url":"https://api.github.com/repos/camptocamp/cgxp/milestones{/number}","notifications_url":"https://api.github.com/repos/camptocamp/cgxp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/camptocamp/cgxp/labels{/name}","releases_url":"https://api.github.com/repos/camptocamp/cgxp/releases{/id}","deployments_url":"https://api.github.com/repos/camptocamp/cgxp/deployments","created_at":"2011-11-15T13:57:41Z","updated_at":"2016-02-25T13:57:39Z","pushed_at":"2016-05-12T14:01:13Z","git_url":"git://github.com/camptocamp/cgxp.git","ssh_url":"git@github.com:camptocamp/cgxp.git","clone_url":"https://github.com/camptocamp/cgxp.git","svn_url":"https://github.com/camptocamp/cgxp","homepage":"","size":20012,"stargazers_count":21,"watchers_count":21,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":24,"mirror_url":null,"open_issues_count":43,"forks":24,"open_issues":43,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/camptocamp/cgxp/pulls/1095"},"html":{"href":"https://github.com/camptocamp/cgxp/pull/1095"},"issue":{"href":"https://api.github.com/repos/camptocamp/cgxp/issues/1095"},"comments":{"href":"https://api.github.com/repos/camptocamp/cgxp/issues/1095/comments"},"review_comments":{"href":"https://api.github.com/repos/camptocamp/cgxp/pulls/1095/comments"},"review_comment":{"href":"https://api.github.com/repos/camptocamp/cgxp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/camptocamp/cgxp/pulls/1095/commits"},"statuses":{"href":"https://api.github.com/repos/camptocamp/cgxp/statuses/569110df1c7b9737e75e873c3c7198acf5d83e54"}}}}