{"action":"created","issue":{"url":"https://api.github.com/repos/kh90909/OakTerm/issues/26","repository_url":"https://api.github.com/repos/kh90909/OakTerm","labels_url":"https://api.github.com/repos/kh90909/OakTerm/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/kh90909/OakTerm/issues/26/comments","events_url":"https://api.github.com/repos/kh90909/OakTerm/issues/26/events","html_url":"https://github.com/kh90909/OakTerm/issues/26","id":145874230,"number":26,"title":"Selected device changes after update `update_devices`","user":{"login":"emcniece","id":1182187,"avatar_url":"https://avatars.githubusercontent.com/u/1182187?v=3","gravatar_id":"","url":"https://api.github.com/users/emcniece","html_url":"https://github.com/emcniece","followers_url":"https://api.github.com/users/emcniece/followers","following_url":"https://api.github.com/users/emcniece/following{/other_user}","gists_url":"https://api.github.com/users/emcniece/gists{/gist_id}","starred_url":"https://api.github.com/users/emcniece/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emcniece/subscriptions","organizations_url":"https://api.github.com/users/emcniece/orgs","repos_url":"https://api.github.com/users/emcniece/repos","events_url":"https://api.github.com/users/emcniece/events{/privacy}","received_events_url":"https://api.github.com/users/emcniece/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-05T03:19:16Z","updated_at":"2016-04-07T04:45:36Z","closed_at":"2016-04-07T04:45:36Z","body":"After selecting a device in the dropdown, the selected device changes. This is likely because the HTML in the select is completely rewritten without re-assigning the selected option.\r\n\r\nThere is also an error inside `update_devinfo()`:\r\n\r\n    Uncaught (in promise) TypeError: Cannot read property 'hasOwnProperty' of null       app.js:142\r\n\r\nThis line is a check originating from the previous loop, which is not needed with the underscorejs conversion."},"comment":{"url":"https://api.github.com/repos/kh90909/OakTerm/issues/comments/206694177","html_url":"https://github.com/kh90909/OakTerm/issues/26#issuecomment-206694177","issue_url":"https://api.github.com/repos/kh90909/OakTerm/issues/26","id":206694177,"user":{"login":"emcniece","id":1182187,"avatar_url":"https://avatars.githubusercontent.com/u/1182187?v=3","gravatar_id":"","url":"https://api.github.com/users/emcniece","html_url":"https://github.com/emcniece","followers_url":"https://api.github.com/users/emcniece/followers","following_url":"https://api.github.com/users/emcniece/following{/other_user}","gists_url":"https://api.github.com/users/emcniece/gists{/gist_id}","starred_url":"https://api.github.com/users/emcniece/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emcniece/subscriptions","organizations_url":"https://api.github.com/users/emcniece/orgs","repos_url":"https://api.github.com/users/emcniece/repos","events_url":"https://api.github.com/users/emcniece/events{/privacy}","received_events_url":"https://api.github.com/users/emcniece/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T04:45:36Z","updated_at":"2016-04-07T04:45:36Z","body":"Resolved!"}}