{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/9688","labels_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/9688/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/9688/comments","events_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/9688/events","html_url":"https://github.com/dimagi/commcare-hq/pull/9688","id":123367559,"number":9688,"title":"[FIX] Removing case properties / preloads did not activate save button","user":{"login":"biyeun","id":716573,"avatar_url":"https://avatars.githubusercontent.com/u/716573?v=3","gravatar_id":"","url":"https://api.github.com/users/biyeun","html_url":"https://github.com/biyeun","followers_url":"https://api.github.com/users/biyeun/followers","following_url":"https://api.github.com/users/biyeun/following{/other_user}","gists_url":"https://api.github.com/users/biyeun/gists{/gist_id}","starred_url":"https://api.github.com/users/biyeun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biyeun/subscriptions","organizations_url":"https://api.github.com/users/biyeun/orgs","repos_url":"https://api.github.com/users/biyeun/repos","events_url":"https://api.github.com/users/biyeun/events{/privacy}","received_events_url":"https://api.github.com/users/biyeun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dimagi/commcare-hq/labels/No%20lint%20errors","name":"No lint errors","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-21T21:59:29Z","updated_at":"2015-12-22T07:20:12Z","closed_at":"2015-12-22T07:20:07Z","pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/9688","html_url":"https://github.com/dimagi/commcare-hq/pull/9688","diff_url":"https://github.com/dimagi/commcare-hq/pull/9688.diff","patch_url":"https://github.com/dimagi/commcare-hq/pull/9688.patch"},"body":"Resolves the bug described in this ticket:\r\nhttp://manage.dimagi.com/default.asp?189170#1062318\r\n\r\nThis bug is correlated with the jquery upgrade. I couldn't quite boil it down to the root cause. Perhaps we were relying on something bad that old jquery was doing which got fixed in the new version. Perhaps it's unrelated to jquery. After spending some time trying to figure out why, I just decided on this fix, which fires the `change` event on the appropriate save button for the `removeProperty` and `removePreload` actions. Note: don't confuse our implementation of `removeProperty` with the jquery `removeProperty`. Two different things.\r\n\r\n@sravfeyn @nickpell @emord "},"comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/comments/166539825","html_url":"https://github.com/dimagi/commcare-hq/pull/9688#issuecomment-166539825","issue_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/9688","id":166539825,"user":{"login":"sravfeyn","id":829142,"avatar_url":"https://avatars.githubusercontent.com/u/829142?v=3","gravatar_id":"","url":"https://api.github.com/users/sravfeyn","html_url":"https://github.com/sravfeyn","followers_url":"https://api.github.com/users/sravfeyn/followers","following_url":"https://api.github.com/users/sravfeyn/following{/other_user}","gists_url":"https://api.github.com/users/sravfeyn/gists{/gist_id}","starred_url":"https://api.github.com/users/sravfeyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sravfeyn/subscriptions","organizations_url":"https://api.github.com/users/sravfeyn/orgs","repos_url":"https://api.github.com/users/sravfeyn/repos","events_url":"https://api.github.com/users/sravfeyn/events{/privacy}","received_events_url":"https://api.github.com/users/sravfeyn/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T07:20:12Z","updated_at":"2015-12-22T07:20:12Z","body":"This was pretty nasty bug. Thanks for the fix Biyeun!"}}