{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/4401","labels_url":"https://api.github.com/repos/meteor/meteor/issues/4401/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/4401/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/4401/events","html_url":"https://github.com/meteor/meteor/issues/4401","id":77888147,"number":4401,"title":"Order of execution issue with Template.subscriptionsReady?","user":{"login":"CaptSaltyJack","id":440132,"avatar_url":"https://avatars.githubusercontent.com/u/440132?v=3","gravatar_id":"","url":"https://api.github.com/users/CaptSaltyJack","html_url":"https://github.com/CaptSaltyJack","followers_url":"https://api.github.com/users/CaptSaltyJack/followers","following_url":"https://api.github.com/users/CaptSaltyJack/following{/other_user}","gists_url":"https://api.github.com/users/CaptSaltyJack/gists{/gist_id}","starred_url":"https://api.github.com/users/CaptSaltyJack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaptSaltyJack/subscriptions","organizations_url":"https://api.github.com/users/CaptSaltyJack/orgs","repos_url":"https://api.github.com/users/CaptSaltyJack/repos","events_url":"https://api.github.com/users/CaptSaltyJack/events{/privacy}","received_events_url":"https://api.github.com/users/CaptSaltyJack/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-05-19T01:49:58Z","updated_at":"2015-05-19T18:25:45Z","closed_at":"2015-05-19T05:14:43Z","body":"https://forums.meteor.com/t/possible-bug-in-meteor-with-template-subscriptionsready/4507\r\n\r\nI have a feeling this may be a bug. I don't see any reason why the HTML content inside the `{{#if Template.subscriptionsReady}}` block doesn't exist once the subscriptions are ready.\r\n\r\nMeteorpad demo: http://meteorpad.com/pad/X2psJgD4mtaChfzNP/subscriptionBug"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/103623459","html_url":"https://github.com/meteor/meteor/issues/4401#issuecomment-103623459","issue_url":"https://api.github.com/repos/meteor/meteor/issues/4401","id":103623459,"user":{"login":"CaptSaltyJack","id":440132,"avatar_url":"https://avatars.githubusercontent.com/u/440132?v=3","gravatar_id":"","url":"https://api.github.com/users/CaptSaltyJack","html_url":"https://github.com/CaptSaltyJack","followers_url":"https://api.github.com/users/CaptSaltyJack/followers","following_url":"https://api.github.com/users/CaptSaltyJack/following{/other_user}","gists_url":"https://api.github.com/users/CaptSaltyJack/gists{/gist_id}","starred_url":"https://api.github.com/users/CaptSaltyJack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaptSaltyJack/subscriptions","organizations_url":"https://api.github.com/users/CaptSaltyJack/orgs","repos_url":"https://api.github.com/users/CaptSaltyJack/repos","events_url":"https://api.github.com/users/CaptSaltyJack/events{/privacy}","received_events_url":"https://api.github.com/users/CaptSaltyJack/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T18:25:45Z","updated_at":"2015-05-19T18:25:45Z","body":"How about:\r\n\r\n```javascript\r\nTemplate.listing.onRendered(function () {\r\n  var template = this;\r\n\r\n  template.subscribe('listOfThings', function () {\r\n    Tracker.afterFlush(function() {\r\n      template.$('#thing').modal('show');\r\n    });\r\n  });\r\n});\r\n```"}}