{"action":"created","issue":{"url":"https://api.github.com/repos/twbs/ratchet/issues/602","labels_url":"https://api.github.com/repos/twbs/ratchet/issues/602/labels{/name}","comments_url":"https://api.github.com/repos/twbs/ratchet/issues/602/comments","events_url":"https://api.github.com/repos/twbs/ratchet/issues/602/events","html_url":"https://github.com/twbs/ratchet/issues/602","id":34652513,"number":602,"title":"[SOLVED] How to fire a modal?","user":{"login":"LC2712","id":7747539,"avatar_url":"https://avatars.githubusercontent.com/u/7747539?v=3","gravatar_id":"","url":"https://api.github.com/users/LC2712","html_url":"https://github.com/LC2712","followers_url":"https://api.github.com/users/LC2712/followers","following_url":"https://api.github.com/users/LC2712/following{/other_user}","gists_url":"https://api.github.com/users/LC2712/gists{/gist_id}","starred_url":"https://api.github.com/users/LC2712/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LC2712/subscriptions","organizations_url":"https://api.github.com/users/LC2712/orgs","repos_url":"https://api.github.com/users/LC2712/repos","events_url":"https://api.github.com/users/LC2712/events{/privacy}","received_events_url":"https://api.github.com/users/LC2712/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/twbs/ratchet/labels/js","name":"js","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-05-30T14:57:36Z","updated_at":"2015-03-20T10:29:16Z","closed_at":"2015-02-09T04:09:59Z","body":"Hello,\r\nI can't understand how to open a modal via JS (I want it to open as soon as document is loaded).\r\nI also tried to trigger a touch/click event to the related link, but didn't work.\r\n\r\nHELP!!!!!!!!!!!1111!!111!111!!!1!1!!!!!!"},"comment":{"url":"https://api.github.com/repos/twbs/ratchet/issues/comments/83982335","html_url":"https://github.com/twbs/ratchet/issues/602#issuecomment-83982335","issue_url":"https://api.github.com/repos/twbs/ratchet/issues/602","id":83982335,"user":{"login":"pattyland","id":838758,"avatar_url":"https://avatars.githubusercontent.com/u/838758?v=3","gravatar_id":"","url":"https://api.github.com/users/pattyland","html_url":"https://github.com/pattyland","followers_url":"https://api.github.com/users/pattyland/followers","following_url":"https://api.github.com/users/pattyland/following{/other_user}","gists_url":"https://api.github.com/users/pattyland/gists{/gist_id}","starred_url":"https://api.github.com/users/pattyland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pattyland/subscriptions","organizations_url":"https://api.github.com/users/pattyland/orgs","repos_url":"https://api.github.com/users/pattyland/repos","events_url":"https://api.github.com/users/pattyland/events{/privacy}","received_events_url":"https://api.github.com/users/pattyland/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T10:29:16Z","updated_at":"2015-03-20T10:29:16Z","body":"This is not a good way... The Dialog is not fading in, and the normal button to close is not working anymore when the dialog os openend this way.\r\nThere should be something like Bootstraps functions for modals:\r\n```javascript\r\n$('#myModal').modal('toggle');\r\n$('#myModal').modal('show');\r\n$('#myModal').modal('hide');\r\n```"}}