{"action":"opened","issue":{"url":"https://api.github.com/repos/mozilla/addons-frontend/issues/1552","repository_url":"https://api.github.com/repos/mozilla/addons-frontend","labels_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/1552/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/1552/comments","events_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/1552/events","html_url":"https://github.com/mozilla/addons-frontend/issues/1552","id":198266825,"number":1552,"title":"Ratings cannot be submitted without JS","user":{"login":"tofumatt","id":90871,"avatar_url":"https://avatars.githubusercontent.com/u/90871?v=3","gravatar_id":"","url":"https://api.github.com/users/tofumatt","html_url":"https://github.com/tofumatt","followers_url":"https://api.github.com/users/tofumatt/followers","following_url":"https://api.github.com/users/tofumatt/following{/other_user}","gists_url":"https://api.github.com/users/tofumatt/gists{/gist_id}","starred_url":"https://api.github.com/users/tofumatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tofumatt/subscriptions","organizations_url":"https://api.github.com/users/tofumatt/orgs","repos_url":"https://api.github.com/users/tofumatt/repos","events_url":"https://api.github.com/users/tofumatt/events{/privacy}","received_events_url":"https://api.github.com/users/tofumatt/received_events","type":"User","site_admin":false},"labels":[{"id":373879523,"url":"https://api.github.com/repos/mozilla/addons-frontend/labels/accessibility","name":"accessibility","color":"b60205","default":false},{"id":405136926,"url":"https://api.github.com/repos/mozilla/addons-frontend/labels/amo","name":"amo","color":"e99695","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-01T13:09:33Z","updated_at":"2017-01-01T13:09:33Z","closed_at":null,"body":"### Describe the problem and steps to reproduce it:\r\nRating buttons submit to `<form action=\"\">` when JS isn't available. See: https://github.com/mozilla/addons-frontend/blob/master/src/amo/components/OverallRating.js#L102\r\n\r\nThis means the ratings can't be submitted without JS.\r\n\r\n### What happened?\r\nI clicked a button and the page submitted to itself, so it seemed like nothing happened.\r\n\r\n### What did you expect to happen?\r\nI click the button to rate the add-on and the add-on is shown as rated by me with the appropriate amount of stars.\r\n\r\n### Anything else we should know?\r\nI encountered this in development mode and maybe the buttons actually show content elsewhere... as none of my CSS displayed on the development server without JS, but that could be separate.\r\n\r\n<img width=\"316\" alt=\"screenshot 2017-01-01 13 05 59\" src=\"https://cloud.githubusercontent.com/assets/90871/21581288/87a9a82c-d023-11e6-9a6b-9ef89d3a2fa3.png\">\r\n"}}
{"actor":{"display_login":"tofumatt"}}