{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/marketplace-core-modules/issues/53","labels_url":"https://api.github.com/repos/mozilla/marketplace-core-modules/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/marketplace-core-modules/issues/53/comments","events_url":"https://api.github.com/repos/mozilla/marketplace-core-modules/issues/53/events","html_url":"https://github.com/mozilla/marketplace-core-modules/pull/53","id":122641812,"number":53,"title":"Bug 1164857","user":{"login":"tieu","id":2256682,"avatar_url":"https://avatars.githubusercontent.com/u/2256682?v=3","gravatar_id":"","url":"https://api.github.com/users/tieu","html_url":"https://github.com/tieu","followers_url":"https://api.github.com/users/tieu/followers","following_url":"https://api.github.com/users/tieu/following{/other_user}","gists_url":"https://api.github.com/users/tieu/gists{/gist_id}","starred_url":"https://api.github.com/users/tieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tieu/subscriptions","organizations_url":"https://api.github.com/users/tieu/orgs","repos_url":"https://api.github.com/users/tieu/repos","events_url":"https://api.github.com/users/tieu/events{/privacy}","received_events_url":"https://api.github.com/users/tieu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-17T01:30:17Z","updated_at":"2015-12-21T20:40:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/marketplace-core-modules/pulls/53","html_url":"https://github.com/mozilla/marketplace-core-modules/pull/53","diff_url":"https://github.com/mozilla/marketplace-core-modules/pull/53.diff","patch_url":"https://github.com/mozilla/marketplace-core-modules/pull/53.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/mozilla/marketplace-core-modules/issues/comments/166411366","html_url":"https://github.com/mozilla/marketplace-core-modules/pull/53#issuecomment-166411366","issue_url":"https://api.github.com/repos/mozilla/marketplace-core-modules/issues/53","id":166411366,"user":{"login":"tieu","id":2256682,"avatar_url":"https://avatars.githubusercontent.com/u/2256682?v=3","gravatar_id":"","url":"https://api.github.com/users/tieu","html_url":"https://github.com/tieu","followers_url":"https://api.github.com/users/tieu/followers","following_url":"https://api.github.com/users/tieu/following{/other_user}","gists_url":"https://api.github.com/users/tieu/gists{/gist_id}","starred_url":"https://api.github.com/users/tieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tieu/subscriptions","organizations_url":"https://api.github.com/users/tieu/orgs","repos_url":"https://api.github.com/users/tieu/repos","events_url":"https://api.github.com/users/tieu/events{/privacy}","received_events_url":"https://api.github.com/users/tieu/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T20:40:42Z","updated_at":"2015-12-21T20:40:42Z","body":"Since this only prevents the form from being submitted and didn't mark the form as invalid. Would this approach be better?\r\n\r\n`$(form).find('textarea').val( $.trim( $(form).find('textarea').val() ) === '' ? '' : $(form).find('textarea').val() );`"}}