{"action":"created","issue":{"url":"https://api.github.com/repos/anchorcms/anchor-cms/issues/884","labels_url":"https://api.github.com/repos/anchorcms/anchor-cms/issues/884/labels{/name}","comments_url":"https://api.github.com/repos/anchorcms/anchor-cms/issues/884/comments","events_url":"https://api.github.com/repos/anchorcms/anchor-cms/issues/884/events","html_url":"https://github.com/anchorcms/anchor-cms/pull/884","id":92567166,"number":884,"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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-02T07:12:03Z","updated_at":"2015-07-07T13:12:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/anchorcms/anchor-cms/pulls/884","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"},"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."},"comment":{"url":"https://api.github.com/repos/anchorcms/anchor-cms/issues/comments/119199406","html_url":"https://github.com/anchorcms/anchor-cms/pull/884#issuecomment-119199406","issue_url":"https://api.github.com/repos/anchorcms/anchor-cms/issues/884","id":119199406,"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},"created_at":"2015-07-07T13:12:28Z","updated_at":"2015-07-07T13:12:28Z","body":"It depends whether we force the user to continue editing, or to force them back once they are done adding a(n) article/post. Maybe an added variable is sent upon submitting to dertimine which save feature submitted.\r\n\r\nPerhaps we could also add the auto save feature into the site extension list, and have a boolean in the DB to say yes or no to auto save upon opening.\r\n\r\nI'll think about these after the pagination issue! :smile:"}}