{"action":"created","comment":{"url":"https://api.github.com/repos/samsoncms/template/pulls/comments/63572056","id":63572056,"diff_hunk":"@@ -231,11 +231,21 @@ var updateAddressBar = function() {\n     var clickedPage = s('#pageNumber').val();\n     // Current page\n     var currentPage = (window.location.pathname).split('/');\n+    // Current structure id\n+    var currentStructure = s('#navigationId').val();\n+\n+    // Default url (if standard output)\n+    var url = currentPage[1] + '/' + currentPage[2] + '/' + clickedPage;","path":"www/container/list/index.js","position":8,"original_position":8,"commit_id":"0b9afce13b6e17b29b936dd84243e2800277821c","original_commit_id":"0b9afce13b6e17b29b936dd84243e2800277821c","user":{"login":"vitalyiegorov","id":586558,"avatar_url":"https://avatars.githubusercontent.com/u/586558?v=3","gravatar_id":"","url":"https://api.github.com/users/vitalyiegorov","html_url":"https://github.com/vitalyiegorov","followers_url":"https://api.github.com/users/vitalyiegorov/followers","following_url":"https://api.github.com/users/vitalyiegorov/following{/other_user}","gists_url":"https://api.github.com/users/vitalyiegorov/gists{/gist_id}","starred_url":"https://api.github.com/users/vitalyiegorov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitalyiegorov/subscriptions","organizations_url":"https://api.github.com/users/vitalyiegorov/orgs","repos_url":"https://api.github.com/users/vitalyiegorov/repos","events_url":"https://api.github.com/users/vitalyiegorov/events{/privacy}","received_events_url":"https://api.github.com/users/vitalyiegorov/received_events","type":"User","site_admin":false},"body":"@getmanenko You are still parsing current url instead of using parameters that we have passed as inputs","created_at":"2016-05-17T17:56:41Z","updated_at":"2016-05-17T17:56:41Z","html_url":"https://github.com/samsoncms/template/pull/69#discussion_r63572056","pull_request_url":"https://api.github.com/repos/samsoncms/template/pulls/69","_links":{"self":{"href":"https://api.github.com/repos/samsoncms/template/pulls/comments/63572056"},"html":{"href":"https://github.com/samsoncms/template/pull/69#discussion_r63572056"},"pull_request":{"href":"https://api.github.com/repos/samsoncms/template/pulls/69"}}},"pull_request":{"url":"https://api.github.com/repos/samsoncms/template/pulls/69","id":70393723,"html_url":"https://github.com/samsoncms/template/pull/69","diff_url":"https://github.com/samsoncms/template/pull/69.diff","patch_url":"https://github.com/samsoncms/template/pull/69.patch","issue_url":"https://api.github.com/repos/samsoncms/template/issues/69","number":69,"state":"open","locked":false,"title":"Added dynamic structure tag","user":{"login":"getmanenko","id":14871360,"avatar_url":"https://avatars.githubusercontent.com/u/14871360?v=3","gravatar_id":"","url":"https://api.github.com/users/getmanenko","html_url":"https://github.com/getmanenko","followers_url":"https://api.github.com/users/getmanenko/followers","following_url":"https://api.github.com/users/getmanenko/following{/other_user}","gists_url":"https://api.github.com/users/getmanenko/gists{/gist_id}","starred_url":"https://api.github.com/users/getmanenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getmanenko/subscriptions","organizations_url":"https://api.github.com/users/getmanenko/orgs","repos_url":"https://api.github.com/users/getmanenko/repos","events_url":"https://api.github.com/users/getmanenko/events{/privacy}","received_events_url":"https://api.github.com/users/getmanenko/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-17T17:02:49Z","updated_at":"2016-05-17T17:56:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7eddaae1f7b00ec17327a95462e09af7c80ad73","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/samsoncms/template/pulls/69/commits","review_comments_url":"https://api.github.com/repos/samsoncms/template/pulls/69/comments","review_comment_url":"https://api.github.com/repos/samsoncms/template/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samsoncms/template/issues/69/comments","statuses_url":"https://api.github.com/repos/samsoncms/template/statuses/0b9afce13b6e17b29b936dd84243e2800277821c","head":{"label":"getmanenko:master","ref":"master","sha":"0b9afce13b6e17b29b936dd84243e2800277821c","user":{"login":"getmanenko","id":14871360,"avatar_url":"https://avatars.githubusercontent.com/u/14871360?v=3","gravatar_id":"","url":"https://api.github.com/users/getmanenko","html_url":"https://github.com/getmanenko","followers_url":"https://api.github.com/users/getmanenko/followers","following_url":"https://api.github.com/users/getmanenko/following{/other_user}","gists_url":"https://api.github.com/users/getmanenko/gists{/gist_id}","starred_url":"https://api.github.com/users/getmanenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getmanenko/subscriptions","organizations_url":"https://api.github.com/users/getmanenko/orgs","repos_url":"https://api.github.com/users/getmanenko/repos","events_url":"https://api.github.com/users/getmanenko/events{/privacy}","received_events_url":"https://api.github.com/users/getmanenko/received_events","type":"User","site_admin":false},"repo":{"id":58909059,"name":"template","full_name":"getmanenko/template","owner":{"login":"getmanenko","id":14871360,"avatar_url":"https://avatars.githubusercontent.com/u/14871360?v=3","gravatar_id":"","url":"https://api.github.com/users/getmanenko","html_url":"https://github.com/getmanenko","followers_url":"https://api.github.com/users/getmanenko/followers","following_url":"https://api.github.com/users/getmanenko/following{/other_user}","gists_url":"https://api.github.com/users/getmanenko/gists{/gist_id}","starred_url":"https://api.github.com/users/getmanenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getmanenko/subscriptions","organizations_url":"https://api.github.com/users/getmanenko/orgs","repos_url":"https://api.github.com/users/getmanenko/repos","events_url":"https://api.github.com/users/getmanenko/events{/privacy}","received_events_url":"https://api.github.com/users/getmanenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/getmanenko/template","description":"SamsonCMS generic menu","fork":true,"url":"https://api.github.com/repos/getmanenko/template","forks_url":"https://api.github.com/repos/getmanenko/template/forks","keys_url":"https://api.github.com/repos/getmanenko/template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/getmanenko/template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/getmanenko/template/teams","hooks_url":"https://api.github.com/repos/getmanenko/template/hooks","issue_events_url":"https://api.github.com/repos/getmanenko/template/issues/events{/number}","events_url":"https://api.github.com/repos/getmanenko/template/events","assignees_url":"https://api.github.com/repos/getmanenko/template/assignees{/user}","branches_url":"https://api.github.com/repos/getmanenko/template/branches{/branch}","tags_url":"https://api.github.com/repos/getmanenko/template/tags","blobs_url":"https://api.github.com/repos/getmanenko/template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/getmanenko/template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/getmanenko/template/git/refs{/sha}","trees_url":"https://api.github.com/repos/getmanenko/template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/getmanenko/template/statuses/{sha}","languages_url":"https://api.github.com/repos/getmanenko/template/languages","stargazers_url":"https://api.github.com/repos/getmanenko/template/stargazers","contributors_url":"https://api.github.com/repos/getmanenko/template/contributors","subscribers_url":"https://api.github.com/repos/getmanenko/template/subscribers","subscription_url":"https://api.github.com/repos/getmanenko/template/subscription","commits_url":"https://api.github.com/repos/getmanenko/template/commits{/sha}","git_commits_url":"https://api.github.com/repos/getmanenko/template/git/commits{/sha}","comments_url":"https://api.github.com/repos/getmanenko/template/comments{/number}","issue_comment_url":"https://api.github.com/repos/getmanenko/template/issues/comments{/number}","contents_url":"https://api.github.com/repos/getmanenko/template/contents/{+path}","compare_url":"https://api.github.com/repos/getmanenko/template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/getmanenko/template/merges","archive_url":"https://api.github.com/repos/getmanenko/template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/getmanenko/template/downloads","issues_url":"https://api.github.com/repos/getmanenko/template/issues{/number}","pulls_url":"https://api.github.com/repos/getmanenko/template/pulls{/number}","milestones_url":"https://api.github.com/repos/getmanenko/template/milestones{/number}","notifications_url":"https://api.github.com/repos/getmanenko/template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/getmanenko/template/labels{/name}","releases_url":"https://api.github.com/repos/getmanenko/template/releases{/id}","deployments_url":"https://api.github.com/repos/getmanenko/template/deployments","created_at":"2016-05-16T06:29:56Z","updated_at":"2016-05-16T06:29:57Z","pushed_at":"2016-05-17T17:53:53Z","git_url":"git://github.com/getmanenko/template.git","ssh_url":"git@github.com:getmanenko/template.git","clone_url":"https://github.com/getmanenko/template.git","svn_url":"https://github.com/getmanenko/template","homepage":null,"size":985,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":0,"default_branch":"master"}},"base":{"label":"samsoncms:master","ref":"master","sha":"e74746f768326ef7e7f1654ffe367b555cc5c2b1","user":{"login":"samsoncms","id":9742656,"avatar_url":"https://avatars.githubusercontent.com/u/9742656?v=3","gravatar_id":"","url":"https://api.github.com/users/samsoncms","html_url":"https://github.com/samsoncms","followers_url":"https://api.github.com/users/samsoncms/followers","following_url":"https://api.github.com/users/samsoncms/following{/other_user}","gists_url":"https://api.github.com/users/samsoncms/gists{/gist_id}","starred_url":"https://api.github.com/users/samsoncms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samsoncms/subscriptions","organizations_url":"https://api.github.com/users/samsoncms/orgs","repos_url":"https://api.github.com/users/samsoncms/repos","events_url":"https://api.github.com/users/samsoncms/events{/privacy}","received_events_url":"https://api.github.com/users/samsoncms/received_events","type":"Organization","site_admin":false},"repo":{"id":33543859,"name":"template","full_name":"samsoncms/template","owner":{"login":"samsoncms","id":9742656,"avatar_url":"https://avatars.githubusercontent.com/u/9742656?v=3","gravatar_id":"","url":"https://api.github.com/users/samsoncms","html_url":"https://github.com/samsoncms","followers_url":"https://api.github.com/users/samsoncms/followers","following_url":"https://api.github.com/users/samsoncms/following{/other_user}","gists_url":"https://api.github.com/users/samsoncms/gists{/gist_id}","starred_url":"https://api.github.com/users/samsoncms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samsoncms/subscriptions","organizations_url":"https://api.github.com/users/samsoncms/orgs","repos_url":"https://api.github.com/users/samsoncms/repos","events_url":"https://api.github.com/users/samsoncms/events{/privacy}","received_events_url":"https://api.github.com/users/samsoncms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/samsoncms/template","description":"SamsonCMS generic menu","fork":false,"url":"https://api.github.com/repos/samsoncms/template","forks_url":"https://api.github.com/repos/samsoncms/template/forks","keys_url":"https://api.github.com/repos/samsoncms/template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samsoncms/template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samsoncms/template/teams","hooks_url":"https://api.github.com/repos/samsoncms/template/hooks","issue_events_url":"https://api.github.com/repos/samsoncms/template/issues/events{/number}","events_url":"https://api.github.com/repos/samsoncms/template/events","assignees_url":"https://api.github.com/repos/samsoncms/template/assignees{/user}","branches_url":"https://api.github.com/repos/samsoncms/template/branches{/branch}","tags_url":"https://api.github.com/repos/samsoncms/template/tags","blobs_url":"https://api.github.com/repos/samsoncms/template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samsoncms/template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samsoncms/template/git/refs{/sha}","trees_url":"https://api.github.com/repos/samsoncms/template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samsoncms/template/statuses/{sha}","languages_url":"https://api.github.com/repos/samsoncms/template/languages","stargazers_url":"https://api.github.com/repos/samsoncms/template/stargazers","contributors_url":"https://api.github.com/repos/samsoncms/template/contributors","subscribers_url":"https://api.github.com/repos/samsoncms/template/subscribers","subscription_url":"https://api.github.com/repos/samsoncms/template/subscription","commits_url":"https://api.github.com/repos/samsoncms/template/commits{/sha}","git_commits_url":"https://api.github.com/repos/samsoncms/template/git/commits{/sha}","comments_url":"https://api.github.com/repos/samsoncms/template/comments{/number}","issue_comment_url":"https://api.github.com/repos/samsoncms/template/issues/comments{/number}","contents_url":"https://api.github.com/repos/samsoncms/template/contents/{+path}","compare_url":"https://api.github.com/repos/samsoncms/template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samsoncms/template/merges","archive_url":"https://api.github.com/repos/samsoncms/template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samsoncms/template/downloads","issues_url":"https://api.github.com/repos/samsoncms/template/issues{/number}","pulls_url":"https://api.github.com/repos/samsoncms/template/pulls{/number}","milestones_url":"https://api.github.com/repos/samsoncms/template/milestones{/number}","notifications_url":"https://api.github.com/repos/samsoncms/template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samsoncms/template/labels{/name}","releases_url":"https://api.github.com/repos/samsoncms/template/releases{/id}","deployments_url":"https://api.github.com/repos/samsoncms/template/deployments","created_at":"2015-04-07T13:11:16Z","updated_at":"2016-01-13T16:21:27Z","pushed_at":"2016-05-17T17:53:53Z","git_url":"git://github.com/samsoncms/template.git","ssh_url":"git@github.com:samsoncms/template.git","clone_url":"https://github.com/samsoncms/template.git","svn_url":"https://github.com/samsoncms/template","homepage":null,"size":985,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":8,"forks":6,"open_issues":8,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/samsoncms/template/pulls/69"},"html":{"href":"https://github.com/samsoncms/template/pull/69"},"issue":{"href":"https://api.github.com/repos/samsoncms/template/issues/69"},"comments":{"href":"https://api.github.com/repos/samsoncms/template/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/samsoncms/template/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/samsoncms/template/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samsoncms/template/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/samsoncms/template/statuses/0b9afce13b6e17b29b936dd84243e2800277821c"}}}}