{"action":"closed","number":432,"pull_request":{"url":"https://api.github.com/repos/rails/jquery-ujs/pulls/432","id":39556388,"html_url":"https://github.com/rails/jquery-ujs/pull/432","diff_url":"https://github.com/rails/jquery-ujs/pull/432.diff","patch_url":"https://github.com/rails/jquery-ujs/pull/432.patch","issue_url":"https://api.github.com/repos/rails/jquery-ujs/issues/432","number":432,"state":"closed","locked":false,"title":"Disabled blank inputs don't reset on ajax submit","user":{"login":"balvig","id":104138,"avatar_url":"https://avatars.githubusercontent.com/u/104138?v=3","gravatar_id":"","url":"https://api.github.com/users/balvig","html_url":"https://github.com/balvig","followers_url":"https://api.github.com/users/balvig/followers","following_url":"https://api.github.com/users/balvig/following{/other_user}","gists_url":"https://api.github.com/users/balvig/gists{/gist_id}","starred_url":"https://api.github.com/users/balvig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balvig/subscriptions","organizations_url":"https://api.github.com/users/balvig/orgs","repos_url":"https://api.github.com/users/balvig/repos","events_url":"https://api.github.com/users/balvig/events{/privacy}","received_events_url":"https://api.github.com/users/balvig/received_events","type":"User","site_admin":false},"body":"Submitting a remote form with a blank input using `[data-disable-with]` would cause the `disable-with` message to get stuck since `if(\"\") == false`\r\n\r\n![demo](https://cloud.githubusercontent.com/assets/104138/8590333/e388f4ae-261f-11e5-8702-5396d9e9dc53.gif)\r\n","created_at":"2015-07-09T07:51:12Z","updated_at":"2015-09-01T05:12:36Z","closed_at":"2015-09-01T05:12:36Z","merged_at":"2015-09-01T05:12:36Z","merge_commit_sha":"bddfccd9cea9b89ffe8d602b080b4ff95b332ea8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rails/jquery-ujs/pulls/432/commits","review_comments_url":"https://api.github.com/repos/rails/jquery-ujs/pulls/432/comments","review_comment_url":"https://api.github.com/repos/rails/jquery-ujs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/jquery-ujs/issues/432/comments","statuses_url":"https://api.github.com/repos/rails/jquery-ujs/statuses/c7e5f8f59db7e37410610658b7c3f1652fc01cbb","head":{"label":"balvig:blank_input_disable_with_bug","ref":"blank_input_disable_with_bug","sha":"c7e5f8f59db7e37410610658b7c3f1652fc01cbb","user":{"login":"balvig","id":104138,"avatar_url":"https://avatars.githubusercontent.com/u/104138?v=3","gravatar_id":"","url":"https://api.github.com/users/balvig","html_url":"https://github.com/balvig","followers_url":"https://api.github.com/users/balvig/followers","following_url":"https://api.github.com/users/balvig/following{/other_user}","gists_url":"https://api.github.com/users/balvig/gists{/gist_id}","starred_url":"https://api.github.com/users/balvig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balvig/subscriptions","organizations_url":"https://api.github.com/users/balvig/orgs","repos_url":"https://api.github.com/users/balvig/repos","events_url":"https://api.github.com/users/balvig/events{/privacy}","received_events_url":"https://api.github.com/users/balvig/received_events","type":"User","site_admin":false},"repo":{"id":38804999,"name":"jquery-ujs","full_name":"balvig/jquery-ujs","owner":{"login":"balvig","id":104138,"avatar_url":"https://avatars.githubusercontent.com/u/104138?v=3","gravatar_id":"","url":"https://api.github.com/users/balvig","html_url":"https://github.com/balvig","followers_url":"https://api.github.com/users/balvig/followers","following_url":"https://api.github.com/users/balvig/following{/other_user}","gists_url":"https://api.github.com/users/balvig/gists{/gist_id}","starred_url":"https://api.github.com/users/balvig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balvig/subscriptions","organizations_url":"https://api.github.com/users/balvig/orgs","repos_url":"https://api.github.com/users/balvig/repos","events_url":"https://api.github.com/users/balvig/events{/privacy}","received_events_url":"https://api.github.com/users/balvig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/balvig/jquery-ujs","description":"Ruby on Rails unobtrusive scripting adapter for jQuery","fork":true,"url":"https://api.github.com/repos/balvig/jquery-ujs","forks_url":"https://api.github.com/repos/balvig/jquery-ujs/forks","keys_url":"https://api.github.com/repos/balvig/jquery-ujs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/balvig/jquery-ujs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/balvig/jquery-ujs/teams","hooks_url":"https://api.github.com/repos/balvig/jquery-ujs/hooks","issue_events_url":"https://api.github.com/repos/balvig/jquery-ujs/issues/events{/number}","events_url":"https://api.github.com/repos/balvig/jquery-ujs/events","assignees_url":"https://api.github.com/repos/balvig/jquery-ujs/assignees{/user}","branches_url":"https://api.github.com/repos/balvig/jquery-ujs/branches{/branch}","tags_url":"https://api.github.com/repos/balvig/jquery-ujs/tags","blobs_url":"https://api.github.com/repos/balvig/jquery-ujs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/balvig/jquery-ujs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/balvig/jquery-ujs/git/refs{/sha}","trees_url":"https://api.github.com/repos/balvig/jquery-ujs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/balvig/jquery-ujs/statuses/{sha}","languages_url":"https://api.github.com/repos/balvig/jquery-ujs/languages","stargazers_url":"https://api.github.com/repos/balvig/jquery-ujs/stargazers","contributors_url":"https://api.github.com/repos/balvig/jquery-ujs/contributors","subscribers_url":"https://api.github.com/repos/balvig/jquery-ujs/subscribers","subscription_url":"https://api.github.com/repos/balvig/jquery-ujs/subscription","commits_url":"https://api.github.com/repos/balvig/jquery-ujs/commits{/sha}","git_commits_url":"https://api.github.com/repos/balvig/jquery-ujs/git/commits{/sha}","comments_url":"https://api.github.com/repos/balvig/jquery-ujs/comments{/number}","issue_comment_url":"https://api.github.com/repos/balvig/jquery-ujs/issues/comments{/number}","contents_url":"https://api.github.com/repos/balvig/jquery-ujs/contents/{+path}","compare_url":"https://api.github.com/repos/balvig/jquery-ujs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/balvig/jquery-ujs/merges","archive_url":"https://api.github.com/repos/balvig/jquery-ujs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/balvig/jquery-ujs/downloads","issues_url":"https://api.github.com/repos/balvig/jquery-ujs/issues{/number}","pulls_url":"https://api.github.com/repos/balvig/jquery-ujs/pulls{/number}","milestones_url":"https://api.github.com/repos/balvig/jquery-ujs/milestones{/number}","notifications_url":"https://api.github.com/repos/balvig/jquery-ujs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/balvig/jquery-ujs/labels{/name}","releases_url":"https://api.github.com/repos/balvig/jquery-ujs/releases{/id}","created_at":"2015-07-09T07:29:49Z","updated_at":"2015-07-09T07:29:49Z","pushed_at":"2015-07-09T16:31:21Z","git_url":"git://github.com/balvig/jquery-ujs.git","ssh_url":"git@github.com:balvig/jquery-ujs.git","clone_url":"https://github.com/balvig/jquery-ujs.git","svn_url":"https://github.com/balvig/jquery-ujs","homepage":"","size":709,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rails:master","ref":"master","sha":"c5ee33330292cc5945224907474a8a22fe01300c","user":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":494159,"name":"jquery-ujs","full_name":"rails/jquery-ujs","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/jquery-ujs","description":"Ruby on Rails unobtrusive scripting adapter for jQuery","fork":false,"url":"https://api.github.com/repos/rails/jquery-ujs","forks_url":"https://api.github.com/repos/rails/jquery-ujs/forks","keys_url":"https://api.github.com/repos/rails/jquery-ujs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/jquery-ujs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/jquery-ujs/teams","hooks_url":"https://api.github.com/repos/rails/jquery-ujs/hooks","issue_events_url":"https://api.github.com/repos/rails/jquery-ujs/issues/events{/number}","events_url":"https://api.github.com/repos/rails/jquery-ujs/events","assignees_url":"https://api.github.com/repos/rails/jquery-ujs/assignees{/user}","branches_url":"https://api.github.com/repos/rails/jquery-ujs/branches{/branch}","tags_url":"https://api.github.com/repos/rails/jquery-ujs/tags","blobs_url":"https://api.github.com/repos/rails/jquery-ujs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/jquery-ujs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/jquery-ujs/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/jquery-ujs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/jquery-ujs/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/jquery-ujs/languages","stargazers_url":"https://api.github.com/repos/rails/jquery-ujs/stargazers","contributors_url":"https://api.github.com/repos/rails/jquery-ujs/contributors","subscribers_url":"https://api.github.com/repos/rails/jquery-ujs/subscribers","subscription_url":"https://api.github.com/repos/rails/jquery-ujs/subscription","commits_url":"https://api.github.com/repos/rails/jquery-ujs/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/jquery-ujs/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/jquery-ujs/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/jquery-ujs/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/jquery-ujs/contents/{+path}","compare_url":"https://api.github.com/repos/rails/jquery-ujs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/jquery-ujs/merges","archive_url":"https://api.github.com/repos/rails/jquery-ujs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/jquery-ujs/downloads","issues_url":"https://api.github.com/repos/rails/jquery-ujs/issues{/number}","pulls_url":"https://api.github.com/repos/rails/jquery-ujs/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/jquery-ujs/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/jquery-ujs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/jquery-ujs/labels{/name}","releases_url":"https://api.github.com/repos/rails/jquery-ujs/releases{/id}","created_at":"2010-01-29T20:18:24Z","updated_at":"2015-08-31T19:06:30Z","pushed_at":"2015-09-01T05:12:36Z","git_url":"git://github.com/rails/jquery-ujs.git","ssh_url":"git@github.com:rails/jquery-ujs.git","clone_url":"https://github.com/rails/jquery-ujs.git","svn_url":"https://github.com/rails/jquery-ujs","homepage":"","size":1875,"stargazers_count":2218,"watchers_count":2218,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":443,"mirror_url":null,"open_issues_count":57,"forks":443,"open_issues":57,"watchers":2218,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/jquery-ujs/pulls/432"},"html":{"href":"https://github.com/rails/jquery-ujs/pull/432"},"issue":{"href":"https://api.github.com/repos/rails/jquery-ujs/issues/432"},"comments":{"href":"https://api.github.com/repos/rails/jquery-ujs/issues/432/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/jquery-ujs/pulls/432/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/jquery-ujs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/jquery-ujs/pulls/432/commits"},"statuses":{"href":"https://api.github.com/repos/rails/jquery-ujs/statuses/c7e5f8f59db7e37410610658b7c3f1652fc01cbb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rafaelfranca","id":47848,"avatar_url":"https://avatars.githubusercontent.com/u/47848?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelfranca","html_url":"https://github.com/rafaelfranca","followers_url":"https://api.github.com/users/rafaelfranca/followers","following_url":"https://api.github.com/users/rafaelfranca/following{/other_user}","gists_url":"https://api.github.com/users/rafaelfranca/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelfranca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelfranca/subscriptions","organizations_url":"https://api.github.com/users/rafaelfranca/orgs","repos_url":"https://api.github.com/users/rafaelfranca/repos","events_url":"https://api.github.com/users/rafaelfranca/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelfranca/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":19,"deletions":1,"changed_files":2}}