{"action":"created","issue":{"url":"https://api.github.com/repos/TimHeckel/meteor-bootboxjs/issues/20","labels_url":"https://api.github.com/repos/TimHeckel/meteor-bootboxjs/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/TimHeckel/meteor-bootboxjs/issues/20/comments","events_url":"https://api.github.com/repos/TimHeckel/meteor-bootboxjs/issues/20/events","html_url":"https://github.com/TimHeckel/meteor-bootboxjs/issues/20","id":57750947,"number":20,"title":"Pass var to callback function","user":{"login":"stlouisweb","id":3084858,"avatar_url":"https://avatars.githubusercontent.com/u/3084858?v=3","gravatar_id":"","url":"https://api.github.com/users/stlouisweb","html_url":"https://github.com/stlouisweb","followers_url":"https://api.github.com/users/stlouisweb/followers","following_url":"https://api.github.com/users/stlouisweb/following{/other_user}","gists_url":"https://api.github.com/users/stlouisweb/gists{/gist_id}","starred_url":"https://api.github.com/users/stlouisweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stlouisweb/subscriptions","organizations_url":"https://api.github.com/users/stlouisweb/orgs","repos_url":"https://api.github.com/users/stlouisweb/repos","events_url":"https://api.github.com/users/stlouisweb/events{/privacy}","received_events_url":"https://api.github.com/users/stlouisweb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-15T23:09:53Z","updated_at":"2015-02-16T00:36:58Z","closed_at":"2015-02-16T00:36:58Z","body":"I'm scratching my head on how to pass a variable (this._id) into the callback function of bootbox.confirm?"},"comment":{"url":"https://api.github.com/repos/TimHeckel/meteor-bootboxjs/issues/comments/74446450","html_url":"https://github.com/TimHeckel/meteor-bootboxjs/issues/20#issuecomment-74446450","issue_url":"https://api.github.com/repos/TimHeckel/meteor-bootboxjs/issues/20","id":74446450,"user":{"login":"stlouisweb","id":3084858,"avatar_url":"https://avatars.githubusercontent.com/u/3084858?v=3","gravatar_id":"","url":"https://api.github.com/users/stlouisweb","html_url":"https://github.com/stlouisweb","followers_url":"https://api.github.com/users/stlouisweb/followers","following_url":"https://api.github.com/users/stlouisweb/following{/other_user}","gists_url":"https://api.github.com/users/stlouisweb/gists{/gist_id}","starred_url":"https://api.github.com/users/stlouisweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stlouisweb/subscriptions","organizations_url":"https://api.github.com/users/stlouisweb/orgs","repos_url":"https://api.github.com/users/stlouisweb/repos","events_url":"https://api.github.com/users/stlouisweb/events{/privacy}","received_events_url":"https://api.github.com/users/stlouisweb/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T00:36:58Z","updated_at":"2015-02-16T00:36:58Z","body":"I was able to accomplish this by assigning this._id to a variable after the click event but before the confirm function. "}}