{"action":"created","issue":{"url":"https://api.github.com/repos/google/ggrc-core/issues/3378","labels_url":"https://api.github.com/repos/google/ggrc-core/issues/3378/labels{/name}","comments_url":"https://api.github.com/repos/google/ggrc-core/issues/3378/comments","events_url":"https://api.github.com/repos/google/ggrc-core/issues/3378/events","html_url":"https://github.com/google/ggrc-core/pull/3378","id":121265283,"number":3378,"title":"CORE-1888 Make hidable contact fields work more dynamic","user":{"login":"vladan-m","id":239430,"avatar_url":"https://avatars.githubusercontent.com/u/239430?v=3","gravatar_id":"","url":"https://api.github.com/users/vladan-m","html_url":"https://github.com/vladan-m","followers_url":"https://api.github.com/users/vladan-m/followers","following_url":"https://api.github.com/users/vladan-m/following{/other_user}","gists_url":"https://api.github.com/users/vladan-m/gists{/gist_id}","starred_url":"https://api.github.com/users/vladan-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladan-m/subscriptions","organizations_url":"https://api.github.com/users/vladan-m/orgs","repos_url":"https://api.github.com/users/vladan-m/repos","events_url":"https://api.github.com/users/vladan-m/events{/privacy}","received_events_url":"https://api.github.com/users/vladan-m/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/ggrc-core/labels/needs%20work","name":"needs work","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/google/ggrc-core/milestones/16","html_url":"https://github.com/google/ggrc-core/milestones/0.9.6-Plum%20Jelly","labels_url":"https://api.github.com/repos/google/ggrc-core/milestones/16/labels","id":1058061,"number":16,"title":"0.9.6-Plum Jelly","description":"","creator":{"login":"Smotko","id":513444,"avatar_url":"https://avatars.githubusercontent.com/u/513444?v=3","gravatar_id":"","url":"https://api.github.com/users/Smotko","html_url":"https://github.com/Smotko","followers_url":"https://api.github.com/users/Smotko/followers","following_url":"https://api.github.com/users/Smotko/following{/other_user}","gists_url":"https://api.github.com/users/Smotko/gists{/gist_id}","starred_url":"https://api.github.com/users/Smotko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smotko/subscriptions","organizations_url":"https://api.github.com/users/Smotko/orgs","repos_url":"https://api.github.com/users/Smotko/repos","events_url":"https://api.github.com/users/Smotko/events{/privacy}","received_events_url":"https://api.github.com/users/Smotko/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":3,"state":"open","created_at":"2015-04-08T11:38:13Z","updated_at":"2015-12-21T10:24:15Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-12-09T15:05:44Z","updated_at":"2015-12-21T13:59:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/google/ggrc-core/pulls/3378","html_url":"https://github.com/google/ggrc-core/pull/3378","diff_url":"https://github.com/google/ggrc-core/pull/3378.diff","patch_url":"https://github.com/google/ggrc-core/pull/3378.patch"},"body":"Make hidable contact fields work more dynamic and prevend multiple hidding when one element should be hidden. Specifically, if hide \"Secondary contact\", then \"Primary contact\" will be hidden. That was caused because HTML structure and JS wasn't in sync.\r\nNow, this is fixed and since we can have 3 or more or less inner elements, I've improved JS to be fully dynamic."},"comment":{"url":"https://api.github.com/repos/google/ggrc-core/issues/comments/166311216","html_url":"https://github.com/google/ggrc-core/pull/3378#issuecomment-166311216","issue_url":"https://api.github.com/repos/google/ggrc-core/issues/3378","id":166311216,"user":{"login":"vladan-m","id":239430,"avatar_url":"https://avatars.githubusercontent.com/u/239430?v=3","gravatar_id":"","url":"https://api.github.com/users/vladan-m","html_url":"https://github.com/vladan-m","followers_url":"https://api.github.com/users/vladan-m/followers","following_url":"https://api.github.com/users/vladan-m/following{/other_user}","gists_url":"https://api.github.com/users/vladan-m/gists{/gist_id}","starred_url":"https://api.github.com/users/vladan-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladan-m/subscriptions","organizations_url":"https://api.github.com/users/vladan-m/orgs","repos_url":"https://api.github.com/users/vladan-m/repos","events_url":"https://api.github.com/users/vladan-m/events{/privacy}","received_events_url":"https://api.github.com/users/vladan-m/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T13:59:50Z","updated_at":"2015-12-21T13:59:50Z","body":"I've made requested changes on JS syntax. P.S. I think that loop is executed 2 or 3 times, but maybe I'm wrong."}}