{"action":"created","issue":{"url":"https://api.github.com/repos/makeusabrew/bootbox/issues/493","repository_url":"https://api.github.com/repos/makeusabrew/bootbox","labels_url":"https://api.github.com/repos/makeusabrew/bootbox/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/makeusabrew/bootbox/issues/493/comments","events_url":"https://api.github.com/repos/makeusabrew/bootbox/issues/493/events","html_url":"https://github.com/makeusabrew/bootbox/issues/493","id":130256497,"number":493,"title":"Add 'message' option in bootbox.prompt ","user":{"login":"crona2011","id":8029979,"avatar_url":"https://avatars.githubusercontent.com/u/8029979?v=3","gravatar_id":"","url":"https://api.github.com/users/crona2011","html_url":"https://github.com/crona2011","followers_url":"https://api.github.com/users/crona2011/followers","following_url":"https://api.github.com/users/crona2011/following{/other_user}","gists_url":"https://api.github.com/users/crona2011/gists{/gist_id}","starred_url":"https://api.github.com/users/crona2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crona2011/subscriptions","organizations_url":"https://api.github.com/users/crona2011/orgs","repos_url":"https://api.github.com/users/crona2011/repos","events_url":"https://api.github.com/users/crona2011/events{/privacy}","received_events_url":"https://api.github.com/users/crona2011/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-02-01T05:01:51Z","updated_at":"2016-09-23T13:05:45Z","closed_at":"2016-09-23T13:05:45Z","body":"I had to add a body option in your prompt dialog for my code:\r\n\r\n```javascript\r\nif (g(j, function(a, b) {\r\n                k += \"<button data-bb-handler='\" + a + \"' type='button' class='btn \" + b.className + \"'>\" + b.label + \"</button>\", l[a] = b.callback\r\n            }), i.find(\".bootbox-body\").append(a.message).prepend(a.body), a.animate === !0 && d.addClass(\"fade\"), a.className && d.addClass(a.className), \"large\" === a.size ? f.addClass(\"modal-lg\") : \"small\" === a.size && f.addClass(\"modal-sm\"), a.title && i.before(n.header), a.closeButton) {\r\n            var m = b(n.closeButton);\r\n            a.title ? d.find(\".modal-header\").prepend(m) : m.css(\"margin-top\", \"-10px\").prependTo(i)\r\n        }...\r\n```\r\n\r\nThe `message` option was taken so I used `a.body` instead"},"comment":{"url":"https://api.github.com/repos/makeusabrew/bootbox/issues/comments/249187057","html_url":"https://github.com/makeusabrew/bootbox/issues/493#issuecomment-249187057","issue_url":"https://api.github.com/repos/makeusabrew/bootbox/issues/493","id":249187057,"user":{"login":"makeusabrew","id":278461,"avatar_url":"https://avatars.githubusercontent.com/u/278461?v=3","gravatar_id":"","url":"https://api.github.com/users/makeusabrew","html_url":"https://github.com/makeusabrew","followers_url":"https://api.github.com/users/makeusabrew/followers","following_url":"https://api.github.com/users/makeusabrew/following{/other_user}","gists_url":"https://api.github.com/users/makeusabrew/gists{/gist_id}","starred_url":"https://api.github.com/users/makeusabrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makeusabrew/subscriptions","organizations_url":"https://api.github.com/users/makeusabrew/orgs","repos_url":"https://api.github.com/users/makeusabrew/repos","events_url":"https://api.github.com/users/makeusabrew/events{/privacy}","received_events_url":"https://api.github.com/users/makeusabrew/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T13:05:45Z","updated_at":"2016-09-23T13:05:45Z","body":"Thanks for this. IMO `bootbox.prompt` works as expected and doesn't need an extra body argument at present."}}
{"actor":{"display_login":"makeusabrew"}}