{"action":"reopened","issue":{"url":"https://api.github.com/repos/SadisticSun/WAFS/issues/22","repository_url":"https://api.github.com/repos/SadisticSun/WAFS","labels_url":"https://api.github.com/repos/SadisticSun/WAFS/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/SadisticSun/WAFS/issues/22/comments","events_url":"https://api.github.com/repos/SadisticSun/WAFS/issues/22/events","html_url":"https://github.com/SadisticSun/WAFS/issues/22","id":229126009,"number":22,"title":"Use a predefined selectvalue. ","user":{"login":"sahanay","id":9800812,"avatar_url":"https://avatars3.githubusercontent.com/u/9800812?v=3","gravatar_id":"","url":"https://api.github.com/users/sahanay","html_url":"https://github.com/sahanay","followers_url":"https://api.github.com/users/sahanay/followers","following_url":"https://api.github.com/users/sahanay/following{/other_user}","gists_url":"https://api.github.com/users/sahanay/gists{/gist_id}","starred_url":"https://api.github.com/users/sahanay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahanay/subscriptions","organizations_url":"https://api.github.com/users/sahanay/orgs","repos_url":"https://api.github.com/users/sahanay/repos","events_url":"https://api.github.com/users/sahanay/events{/privacy}","received_events_url":"https://api.github.com/users/sahanay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-16T18:24:39Z","updated_at":"2017-05-17T12:36:36Z","closed_at":null,"body":"If user doesn't select either the sticker or gif radio button, the server responds with a 404 error that is not handled by the app. Instead the spinner keeps on spinning.\r\n\r\n`\r\nXMLHttpRequest cannot load https://api.giphy.com/v1/undefined/search?q=cats&api_key=dc6zaTOxFJmzC&limit=25. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 404.\r\n`\r\n\r\nSolution:  either preselect either 'gif' or 'sticker' radio button to prevent this error or refactor your formElements.selectedFilter() function that can handle the exception when none of the radiobuttons is selected.\r\n"}}
{"actor":{"display_login":"sahanay"}}