{"action":"created","issue":{"url":"https://api.github.com/repos/kuboshizuma/protospace/issues/14","labels_url":"https://api.github.com/repos/kuboshizuma/protospace/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/kuboshizuma/protospace/issues/14/comments","events_url":"https://api.github.com/repos/kuboshizuma/protospace/issues/14/events","html_url":"https://github.com/kuboshizuma/protospace/pull/14","id":105287042,"number":14,"title":"[fix] display new page in error","user":{"login":"kuboshizuma","id":7121842,"avatar_url":"https://avatars.githubusercontent.com/u/7121842?v=3","gravatar_id":"","url":"https://api.github.com/users/kuboshizuma","html_url":"https://github.com/kuboshizuma","followers_url":"https://api.github.com/users/kuboshizuma/followers","following_url":"https://api.github.com/users/kuboshizuma/following{/other_user}","gists_url":"https://api.github.com/users/kuboshizuma/gists{/gist_id}","starred_url":"https://api.github.com/users/kuboshizuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuboshizuma/subscriptions","organizations_url":"https://api.github.com/users/kuboshizuma/orgs","repos_url":"https://api.github.com/users/kuboshizuma/repos","events_url":"https://api.github.com/users/kuboshizuma/events{/privacy}","received_events_url":"https://api.github.com/users/kuboshizuma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-08T02:14:06Z","updated_at":"2015-09-08T09:30:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kuboshizuma/protospace/pulls/14","html_url":"https://github.com/kuboshizuma/protospace/pull/14","diff_url":"https://github.com/kuboshizuma/protospace/pull/14.diff","patch_url":"https://github.com/kuboshizuma/protospace/pull/14.patch"},"body":"# WHAT\r\nエラー時は\r\n\r\n```\r\n@prototype.prototype_images.delete_all\r\n```\r\nで一度prototype_iamgesのインスタンスを削除することで対応。\r\n\r\nプロトタイプの画像のプレビューの表示に関して、$(document).readyが発火せずにうまくいかない問題もあったので、\r\n\r\n```\r\n$(document).on('page:load', function(){\r\n```\r\nで対応。\r\n\r\n\r\n# WHY\r\nプロトタイプの新規登録エラー時に、画像入力部分がたくさん表示されてしますバグが発生。"},"comment":{"url":"https://api.github.com/repos/kuboshizuma/protospace/issues/comments/138495188","html_url":"https://github.com/kuboshizuma/protospace/pull/14#issuecomment-138495188","issue_url":"https://api.github.com/repos/kuboshizuma/protospace/issues/14","id":138495188,"user":{"login":"kuboshizuma","id":7121842,"avatar_url":"https://avatars.githubusercontent.com/u/7121842?v=3","gravatar_id":"","url":"https://api.github.com/users/kuboshizuma","html_url":"https://github.com/kuboshizuma","followers_url":"https://api.github.com/users/kuboshizuma/followers","following_url":"https://api.github.com/users/kuboshizuma/following{/other_user}","gists_url":"https://api.github.com/users/kuboshizuma/gists{/gist_id}","starred_url":"https://api.github.com/users/kuboshizuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuboshizuma/subscriptions","organizations_url":"https://api.github.com/users/kuboshizuma/orgs","repos_url":"https://api.github.com/users/kuboshizuma/repos","events_url":"https://api.github.com/users/kuboshizuma/events{/privacy}","received_events_url":"https://api.github.com/users/kuboshizuma/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T09:30:47Z","updated_at":"2015-09-08T09:30:47Z","body":"@eichann @junjungoal \r\n今回は\r\n\r\n```\r\n$(document).on('ready page:load', function(){\r\n```\r\n\r\nで対応しました！"}}