{"action":"created","comment":{"url":"https://api.github.com/repos/anchorcms/anchor-cms/pulls/comments/34535432","id":34535432,"diff_hunk":"@@ -218,8 +219,8 @@\n \t\t\t\t\t\topacity: 0\n \t\t\t\t\t}, 600, \"ease-out\", function() {\n \t\t\t\t\t\tif ($('.btn.delete').length === 0 && $(this).find('.error').length === 0) {\n-\t\t\t\t\t\t\t// redirect to posts or pages list on success if we are not in edit/update mode\n-\t\t\t\t\t\t\twindow.location.href = activeMenu.attr('href');\n+\t\t\t\t\t\t\t// redirect to the redirect page on success if we are not in edit/update mode","path":"anchor/views/assets/js/editor.js","position":25,"original_position":25,"commit_id":"8500901cc874bfaeed1c407f28a4c9e51576a4e7","original_commit_id":"8500901cc874bfaeed1c407f28a4c9e51576a4e7","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long.","created_at":"2015-07-14T03:56:09Z","updated_at":"2015-07-14T03:56:09Z","html_url":"https://github.com/anchorcms/anchor-cms/pull/884#discussion_r34535432","pull_request_url":"https://api.github.com/repos/anchorcms/anchor-cms/pulls/884","_links":{"self":{"href":"https://api.github.com/repos/anchorcms/anchor-cms/pulls/comments/34535432"},"html":{"href":"https://github.com/anchorcms/anchor-cms/pull/884#discussion_r34535432"},"pull_request":{"href":"https://api.github.com/repos/anchorcms/anchor-cms/pulls/884"}}},"pull_request":{"url":"https://api.github.com/repos/anchorcms/anchor-cms/pulls/884","id":39053974,"html_url":"https://github.com/anchorcms/anchor-cms/pull/884","diff_url":"https://github.com/anchorcms/anchor-cms/pull/884.diff","patch_url":"https://github.com/anchorcms/anchor-cms/pull/884.patch","issue_url":"https://api.github.com/repos/anchorcms/anchor-cms/issues/884","number":884,"state":"open","locked":false,"title":"Autosave feature implemented","user":{"login":"TheBrenny","id":1498923,"avatar_url":"https://avatars.githubusercontent.com/u/1498923?v=3","gravatar_id":"","url":"https://api.github.com/users/TheBrenny","html_url":"https://github.com/TheBrenny","followers_url":"https://api.github.com/users/TheBrenny/followers","following_url":"https://api.github.com/users/TheBrenny/following{/other_user}","gists_url":"https://api.github.com/users/TheBrenny/gists{/gist_id}","starred_url":"https://api.github.com/users/TheBrenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheBrenny/subscriptions","organizations_url":"https://api.github.com/users/TheBrenny/orgs","repos_url":"https://api.github.com/users/TheBrenny/repos","events_url":"https://api.github.com/users/TheBrenny/events{/privacy}","received_events_url":"https://api.github.com/users/TheBrenny/received_events","type":"User","site_admin":false},"body":"Closes issue #879, however, some changes may need to be made to a few things.\r\n\r\nWhen autosaving a new article/page (ie. when adding a new article/page) after the first autosave, you will be redirected back to the posts/pages index page. This seems like a bug, but you can easily just go back to the article/page you were writing, turn on autosave, and continue as normal.\r\n\r\nI edited the pages' redirect button, at the time, if any `<button class=\"secondary\"></button>` had been pressed, it would make the page a redirector page. I noticed this while testing out the autosave feature, and decided to fix it.\r\n\r\nThere may be other bugs, however, I see none.","created_at":"2015-07-02T07:12:03Z","updated_at":"2015-07-14T03:56:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a0b83a300191cc7b49a51ca3c75f79734aa29b5f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/anchorcms/anchor-cms/pulls/884/commits","review_comments_url":"https://api.github.com/repos/anchorcms/anchor-cms/pulls/884/comments","review_comment_url":"https://api.github.com/repos/anchorcms/anchor-cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anchorcms/anchor-cms/issues/884/comments","statuses_url":"https://api.github.com/repos/anchorcms/anchor-cms/statuses/8500901cc874bfaeed1c407f28a4c9e51576a4e7","head":{"label":"TheBrenny:feature/autosave-editor","ref":"feature/autosave-editor","sha":"8500901cc874bfaeed1c407f28a4c9e51576a4e7","user":{"login":"TheBrenny","id":1498923,"avatar_url":"https://avatars.githubusercontent.com/u/1498923?v=3","gravatar_id":"","url":"https://api.github.com/users/TheBrenny","html_url":"https://github.com/TheBrenny","followers_url":"https://api.github.com/users/TheBrenny/followers","following_url":"https://api.github.com/users/TheBrenny/following{/other_user}","gists_url":"https://api.github.com/users/TheBrenny/gists{/gist_id}","starred_url":"https://api.github.com/users/TheBrenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheBrenny/subscriptions","organizations_url":"https://api.github.com/users/TheBrenny/orgs","repos_url":"https://api.github.com/users/TheBrenny/repos","events_url":"https://api.github.com/users/TheBrenny/events{/privacy}","received_events_url":"https://api.github.com/users/TheBrenny/received_events","type":"User","site_admin":false},"repo":{"id":38289380,"name":"anchor-cms","full_name":"TheBrenny/anchor-cms","owner":{"login":"TheBrenny","id":1498923,"avatar_url":"https://avatars.githubusercontent.com/u/1498923?v=3","gravatar_id":"","url":"https://api.github.com/users/TheBrenny","html_url":"https://github.com/TheBrenny","followers_url":"https://api.github.com/users/TheBrenny/followers","following_url":"https://api.github.com/users/TheBrenny/following{/other_user}","gists_url":"https://api.github.com/users/TheBrenny/gists{/gist_id}","starred_url":"https://api.github.com/users/TheBrenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheBrenny/subscriptions","organizations_url":"https://api.github.com/users/TheBrenny/orgs","repos_url":"https://api.github.com/users/TheBrenny/repos","events_url":"https://api.github.com/users/TheBrenny/events{/privacy}","received_events_url":"https://api.github.com/users/TheBrenny/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheBrenny/anchor-cms","description":"Anchor is a free, lightweight, faster-than-a-bullet, simple blogging system, made for art–directed posts.","fork":true,"url":"https://api.github.com/repos/TheBrenny/anchor-cms","forks_url":"https://api.github.com/repos/TheBrenny/anchor-cms/forks","keys_url":"https://api.github.com/repos/TheBrenny/anchor-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheBrenny/anchor-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheBrenny/anchor-cms/teams","hooks_url":"https://api.github.com/repos/TheBrenny/anchor-cms/hooks","issue_events_url":"https://api.github.com/repos/TheBrenny/anchor-cms/issues/events{/number}","events_url":"https://api.github.com/repos/TheBrenny/anchor-cms/events","assignees_url":"https://api.github.com/repos/TheBrenny/anchor-cms/assignees{/user}","branches_url":"https://api.github.com/repos/TheBrenny/anchor-cms/branches{/branch}","tags_url":"https://api.github.com/repos/TheBrenny/anchor-cms/tags","blobs_url":"https://api.github.com/repos/TheBrenny/anchor-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheBrenny/anchor-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheBrenny/anchor-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheBrenny/anchor-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheBrenny/anchor-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/TheBrenny/anchor-cms/languages","stargazers_url":"https://api.github.com/repos/TheBrenny/anchor-cms/stargazers","contributors_url":"https://api.github.com/repos/TheBrenny/anchor-cms/contributors","subscribers_url":"https://api.github.com/repos/TheBrenny/anchor-cms/subscribers","subscription_url":"https://api.github.com/repos/TheBrenny/anchor-cms/subscription","commits_url":"https://api.github.com/repos/TheBrenny/anchor-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheBrenny/anchor-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheBrenny/anchor-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheBrenny/anchor-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheBrenny/anchor-cms/contents/{+path}","compare_url":"https://api.github.com/repos/TheBrenny/anchor-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheBrenny/anchor-cms/merges","archive_url":"https://api.github.com/repos/TheBrenny/anchor-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheBrenny/anchor-cms/downloads","issues_url":"https://api.github.com/repos/TheBrenny/anchor-cms/issues{/number}","pulls_url":"https://api.github.com/repos/TheBrenny/anchor-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/TheBrenny/anchor-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/TheBrenny/anchor-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheBrenny/anchor-cms/labels{/name}","releases_url":"https://api.github.com/repos/TheBrenny/anchor-cms/releases{/id}","created_at":"2015-06-30T05:23:04Z","updated_at":"2015-06-30T05:23:05Z","pushed_at":"2015-07-14T03:55:59Z","git_url":"git://github.com/TheBrenny/anchor-cms.git","ssh_url":"git@github.com:TheBrenny/anchor-cms.git","clone_url":"https://github.com/TheBrenny/anchor-cms.git","svn_url":"https://github.com/TheBrenny/anchor-cms","homepage":"http://anchorcms.com/","size":3996,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"anchorcms:0.9-dev","ref":"0.9-dev","sha":"c75c9d2fba00ce1bb5e086574580d2c0815619ca","user":{"login":"anchorcms","id":1433533,"avatar_url":"https://avatars.githubusercontent.com/u/1433533?v=3","gravatar_id":"","url":"https://api.github.com/users/anchorcms","html_url":"https://github.com/anchorcms","followers_url":"https://api.github.com/users/anchorcms/followers","following_url":"https://api.github.com/users/anchorcms/following{/other_user}","gists_url":"https://api.github.com/users/anchorcms/gists{/gist_id}","starred_url":"https://api.github.com/users/anchorcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anchorcms/subscriptions","organizations_url":"https://api.github.com/users/anchorcms/orgs","repos_url":"https://api.github.com/users/anchorcms/repos","events_url":"https://api.github.com/users/anchorcms/events{/privacy}","received_events_url":"https://api.github.com/users/anchorcms/received_events","type":"Organization","site_admin":false},"repo":{"id":1697736,"name":"anchor-cms","full_name":"anchorcms/anchor-cms","owner":{"login":"anchorcms","id":1433533,"avatar_url":"https://avatars.githubusercontent.com/u/1433533?v=3","gravatar_id":"","url":"https://api.github.com/users/anchorcms","html_url":"https://github.com/anchorcms","followers_url":"https://api.github.com/users/anchorcms/followers","following_url":"https://api.github.com/users/anchorcms/following{/other_user}","gists_url":"https://api.github.com/users/anchorcms/gists{/gist_id}","starred_url":"https://api.github.com/users/anchorcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anchorcms/subscriptions","organizations_url":"https://api.github.com/users/anchorcms/orgs","repos_url":"https://api.github.com/users/anchorcms/repos","events_url":"https://api.github.com/users/anchorcms/events{/privacy}","received_events_url":"https://api.github.com/users/anchorcms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/anchorcms/anchor-cms","description":"Anchor is a free, lightweight, faster-than-a-bullet, simple blogging system, made for art–directed posts.","fork":false,"url":"https://api.github.com/repos/anchorcms/anchor-cms","forks_url":"https://api.github.com/repos/anchorcms/anchor-cms/forks","keys_url":"https://api.github.com/repos/anchorcms/anchor-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anchorcms/anchor-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anchorcms/anchor-cms/teams","hooks_url":"https://api.github.com/repos/anchorcms/anchor-cms/hooks","issue_events_url":"https://api.github.com/repos/anchorcms/anchor-cms/issues/events{/number}","events_url":"https://api.github.com/repos/anchorcms/anchor-cms/events","assignees_url":"https://api.github.com/repos/anchorcms/anchor-cms/assignees{/user}","branches_url":"https://api.github.com/repos/anchorcms/anchor-cms/branches{/branch}","tags_url":"https://api.github.com/repos/anchorcms/anchor-cms/tags","blobs_url":"https://api.github.com/repos/anchorcms/anchor-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anchorcms/anchor-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anchorcms/anchor-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/anchorcms/anchor-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anchorcms/anchor-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/anchorcms/anchor-cms/languages","stargazers_url":"https://api.github.com/repos/anchorcms/anchor-cms/stargazers","contributors_url":"https://api.github.com/repos/anchorcms/anchor-cms/contributors","subscribers_url":"https://api.github.com/repos/anchorcms/anchor-cms/subscribers","subscription_url":"https://api.github.com/repos/anchorcms/anchor-cms/subscription","commits_url":"https://api.github.com/repos/anchorcms/anchor-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/anchorcms/anchor-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/anchorcms/anchor-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/anchorcms/anchor-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/anchorcms/anchor-cms/contents/{+path}","compare_url":"https://api.github.com/repos/anchorcms/anchor-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anchorcms/anchor-cms/merges","archive_url":"https://api.github.com/repos/anchorcms/anchor-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anchorcms/anchor-cms/downloads","issues_url":"https://api.github.com/repos/anchorcms/anchor-cms/issues{/number}","pulls_url":"https://api.github.com/repos/anchorcms/anchor-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/anchorcms/anchor-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/anchorcms/anchor-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anchorcms/anchor-cms/labels{/name}","releases_url":"https://api.github.com/repos/anchorcms/anchor-cms/releases{/id}","created_at":"2011-05-03T19:10:05Z","updated_at":"2015-07-12T22:15:49Z","pushed_at":"2015-07-14T03:56:01Z","git_url":"git://github.com/anchorcms/anchor-cms.git","ssh_url":"git@github.com:anchorcms/anchor-cms.git","clone_url":"https://github.com/anchorcms/anchor-cms.git","svn_url":"https://github.com/anchorcms/anchor-cms","homepage":"http://anchorcms.com/","size":6973,"stargazers_count":2437,"watchers_count":2437,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":473,"mirror_url":null,"open_issues_count":73,"forks":473,"open_issues":73,"watchers":2437,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anchorcms/anchor-cms/pulls/884"},"html":{"href":"https://github.com/anchorcms/anchor-cms/pull/884"},"issue":{"href":"https://api.github.com/repos/anchorcms/anchor-cms/issues/884"},"comments":{"href":"https://api.github.com/repos/anchorcms/anchor-cms/issues/884/comments"},"review_comments":{"href":"https://api.github.com/repos/anchorcms/anchor-cms/pulls/884/comments"},"review_comment":{"href":"https://api.github.com/repos/anchorcms/anchor-cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anchorcms/anchor-cms/pulls/884/commits"},"statuses":{"href":"https://api.github.com/repos/anchorcms/anchor-cms/statuses/8500901cc874bfaeed1c407f28a4c9e51576a4e7"}}}}