{"action":"created","issue":{"url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/704","labels_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/704/labels{/name}","comments_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/704/comments","events_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/704/events","html_url":"https://github.com/nightscout/cgm-remote-monitor/pull/704","id":94697248,"number":704,"title":"Treatment drawer update","user":{"login":"MilosKozak","id":11146458,"avatar_url":"https://avatars.githubusercontent.com/u/11146458?v=3","gravatar_id":"","url":"https://api.github.com/users/MilosKozak","html_url":"https://github.com/MilosKozak","followers_url":"https://api.github.com/users/MilosKozak/followers","following_url":"https://api.github.com/users/MilosKozak/following{/other_user}","gists_url":"https://api.github.com/users/MilosKozak/gists{/gist_id}","starred_url":"https://api.github.com/users/MilosKozak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MilosKozak/subscriptions","organizations_url":"https://api.github.com/users/MilosKozak/orgs","repos_url":"https://api.github.com/users/MilosKozak/repos","events_url":"https://api.github.com/users/MilosKozak/events{/privacy}","received_events_url":"https://api.github.com/users/MilosKozak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-13T11:15:23Z","updated_at":"2015-07-15T21:19:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/704","html_url":"https://github.com/nightscout/cgm-remote-monitor/pull/704","diff_url":"https://github.com/nightscout/cgm-remote-monitor/pull/704.diff","patch_url":"https://github.com/nightscout/cgm-remote-monitor/pull/704.patch"},"body":"- ability to enter date of treatment\r\n- by holding up/down key time rolls over hours and day correctly\r\n- treatment js code moved from utils.js to a separate file to make it plugin easier in the future\r\n- confirm dialog shows only entered values\r\n- fixed bug when sometimes time radio buttons don't work as expected"},"comment":{"url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/comments/121752347","html_url":"https://github.com/nightscout/cgm-remote-monitor/pull/704#issuecomment-121752347","issue_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/704","id":121752347,"user":{"login":"MilosKozak","id":11146458,"avatar_url":"https://avatars.githubusercontent.com/u/11146458?v=3","gravatar_id":"","url":"https://api.github.com/users/MilosKozak","html_url":"https://github.com/MilosKozak","followers_url":"https://api.github.com/users/MilosKozak/followers","following_url":"https://api.github.com/users/MilosKozak/following{/other_user}","gists_url":"https://api.github.com/users/MilosKozak/gists{/gist_id}","starred_url":"https://api.github.com/users/MilosKozak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MilosKozak/subscriptions","organizations_url":"https://api.github.com/users/MilosKozak/orgs","repos_url":"https://api.github.com/users/MilosKozak/repos","events_url":"https://api.github.com/users/MilosKozak/events{/privacy}","received_events_url":"https://api.github.com/users/MilosKozak/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T21:19:22Z","updated_at":"2015-07-15T21:19:22Z","body":"it should work when you set \r\nwindow.treatmentSubmit = treatmentSubmit;\r\nor i did it in html for boluscalc as \r\n<form id=\"boluscalc-form\" onsubmit=\"return Nightscout.plugins('boluscalc').boluscalcSubmit();\">\r\nbut this drawer is already plugin"}}