{"action":"created","issue":{"url":"https://api.github.com/repos/diaspora/diaspora/issues/5524","labels_url":"https://api.github.com/repos/diaspora/diaspora/issues/5524/labels{/name}","comments_url":"https://api.github.com/repos/diaspora/diaspora/issues/5524/comments","events_url":"https://api.github.com/repos/diaspora/diaspora/issues/5524/events","html_url":"https://github.com/diaspora/diaspora/issues/5524","id":53330408,"number":5524,"title":"Multiple comment box issues on slow networks","user":{"login":"dimaursu","id":1288910,"avatar_url":"https://avatars.githubusercontent.com/u/1288910?v=3","gravatar_id":"","url":"https://api.github.com/users/dimaursu","html_url":"https://github.com/dimaursu","followers_url":"https://api.github.com/users/dimaursu/followers","following_url":"https://api.github.com/users/dimaursu/following{/other_user}","gists_url":"https://api.github.com/users/dimaursu/gists{/gist_id}","starred_url":"https://api.github.com/users/dimaursu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimaursu/subscriptions","organizations_url":"https://api.github.com/users/dimaursu/orgs","repos_url":"https://api.github.com/users/dimaursu/repos","events_url":"https://api.github.com/users/dimaursu/events{/privacy}","received_events_url":"https://api.github.com/users/dimaursu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-04T09:00:50Z","updated_at":"2015-01-07T20:54:33Z","closed_at":null,"body":"If the network is slow (I'm quite far from the access point), you can tap multiple times on the pencil icon, and spawn a bunch of comment boxes (9 is my record), because the guard is inside the body of the AJAX request: https://github.com/diaspora/diaspora/blob/develop/app/assets/javascripts/mobile.js#L195\r\n\r\nIf the request takes a long time, and you manage to tap the pencil icon again, several AJAX requests will be fired at the same time, until one of the \"sucess:\" callback handlers will remove the \"inactive\" class."},"comment":{"url":"https://api.github.com/repos/diaspora/diaspora/issues/comments/69090209","html_url":"https://github.com/diaspora/diaspora/issues/5524#issuecomment-69090209","issue_url":"https://api.github.com/repos/diaspora/diaspora/issues/5524","id":69090209,"user":{"login":"desyncr","id":1857707,"avatar_url":"https://avatars.githubusercontent.com/u/1857707?v=3","gravatar_id":"","url":"https://api.github.com/users/desyncr","html_url":"https://github.com/desyncr","followers_url":"https://api.github.com/users/desyncr/followers","following_url":"https://api.github.com/users/desyncr/following{/other_user}","gists_url":"https://api.github.com/users/desyncr/gists{/gist_id}","starred_url":"https://api.github.com/users/desyncr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desyncr/subscriptions","organizations_url":"https://api.github.com/users/desyncr/orgs","repos_url":"https://api.github.com/users/desyncr/repos","events_url":"https://api.github.com/users/desyncr/events{/privacy}","received_events_url":"https://api.github.com/users/desyncr/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T20:54:33Z","updated_at":"2015-01-07T20:54:33Z","body":"@dimaursu With chrome dev tools you can emulate both mobile and network settings. I could reproduce it when the settings shown in the screenshot:\r\n\r\n![screenshot from 2015-01-07 17 51 36](https://cloud.githubusercontent.com/assets/1857707/5653115/12477a1e-9696-11e4-85c9-8f30a4796372.png)\r\n"}}