{"action":"created","issue":{"url":"https://api.github.com/repos/flarum/core/issues/756","repository_url":"https://api.github.com/repos/flarum/core","labels_url":"https://api.github.com/repos/flarum/core/issues/756/labels{/name}","comments_url":"https://api.github.com/repos/flarum/core/issues/756/comments","events_url":"https://api.github.com/repos/flarum/core/issues/756/events","html_url":"https://github.com/flarum/core/issues/756","id":127694951,"number":756,"title":"[Composer] Duplicate alert when trying to reply (composer has content already)","user":{"login":"d3vr","id":1549990,"avatar_url":"https://avatars.githubusercontent.com/u/1549990?v=3","gravatar_id":"","url":"https://api.github.com/users/d3vr","html_url":"https://github.com/d3vr","followers_url":"https://api.github.com/users/d3vr/followers","following_url":"https://api.github.com/users/d3vr/following{/other_user}","gists_url":"https://api.github.com/users/d3vr/gists{/gist_id}","starred_url":"https://api.github.com/users/d3vr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3vr/subscriptions","organizations_url":"https://api.github.com/users/d3vr/orgs","repos_url":"https://api.github.com/users/d3vr/repos","events_url":"https://api.github.com/users/d3vr/events{/privacy}","received_events_url":"https://api.github.com/users/d3vr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flarum/core/labels/Bug","name":"Bug","color":"eb6420"},{"url":"https://api.github.com/repos/flarum/core/labels/UX","name":"UX","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/flarum/core/milestones/5","html_url":"https://github.com/flarum/core/milestones/0.1.0-beta.6","labels_url":"https://api.github.com/repos/flarum/core/milestones/5/labels","id":1488954,"number":5,"title":"0.1.0-beta.6","description":"","creator":{"login":"tobscure","id":128862,"avatar_url":"https://avatars.githubusercontent.com/u/128862?v=3","gravatar_id":"","url":"https://api.github.com/users/tobscure","html_url":"https://github.com/tobscure","followers_url":"https://api.github.com/users/tobscure/followers","following_url":"https://api.github.com/users/tobscure/following{/other_user}","gists_url":"https://api.github.com/users/tobscure/gists{/gist_id}","starred_url":"https://api.github.com/users/tobscure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobscure/subscriptions","organizations_url":"https://api.github.com/users/tobscure/orgs","repos_url":"https://api.github.com/users/tobscure/repos","events_url":"https://api.github.com/users/tobscure/events{/privacy}","received_events_url":"https://api.github.com/users/tobscure/received_events","type":"User","site_admin":false},"open_issues":53,"closed_issues":25,"state":"open","created_at":"2016-01-07T07:07:44Z","updated_at":"2016-05-16T16:19:11Z","due_on":"2016-05-12T14:30:00Z","closed_at":null},"comments":2,"created_at":"2016-01-20T14:32:12Z","updated_at":"2016-05-16T16:19:11Z","closed_at":"2016-05-16T16:19:11Z","body":"If the composer already contains content (the start of a reply from another post or a new discussion) and you try to reply to another post by clicking on the \"Write a reply\" input at the bottom of the page, you get an alert warning you of losing that content. If you click on Cancel you get the same alert again. So that makes a duplicate unnecessary alert. \r\n\r\nThis is not the case if you click on the reply button on the sidebar instead. A minor bug that needs to be fixed."},"comment":{"url":"https://api.github.com/repos/flarum/core/issues/comments/219470082","html_url":"https://github.com/flarum/core/issues/756#issuecomment-219470082","issue_url":"https://api.github.com/repos/flarum/core/issues/756","id":219470082,"user":{"login":"d3vr","id":1549990,"avatar_url":"https://avatars.githubusercontent.com/u/1549990?v=3","gravatar_id":"","url":"https://api.github.com/users/d3vr","html_url":"https://github.com/d3vr","followers_url":"https://api.github.com/users/d3vr/followers","following_url":"https://api.github.com/users/d3vr/following{/other_user}","gists_url":"https://api.github.com/users/d3vr/gists{/gist_id}","starred_url":"https://api.github.com/users/d3vr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3vr/subscriptions","organizations_url":"https://api.github.com/users/d3vr/orgs","repos_url":"https://api.github.com/users/d3vr/repos","events_url":"https://api.github.com/users/d3vr/events{/privacy}","received_events_url":"https://api.github.com/users/d3vr/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T16:19:11Z","updated_at":"2016-05-16T16:19:11Z","body":"I just tried to reproduce the bug, it's no longer there. Must've been fixed by a recent update.\r\nWhat I meant:\r\n- Go to post 1, start typing a reply\r\n- Go to post 2\r\n- Scroll all the way down and click on the \"Write reply\" input\r\n- You get a dialog: \"You have not posted your reply. Do you wish to discard it?\"\r\n- You confirm or cancel the confirm box, either way you get asked a second time\r\nThis was the bug, but it's no longer happening. "}}