{"action":"created","issue":{"url":"https://api.github.com/repos/reddit/reddit/issues/1401","labels_url":"https://api.github.com/repos/reddit/reddit/issues/1401/labels{/name}","comments_url":"https://api.github.com/repos/reddit/reddit/issues/1401/comments","events_url":"https://api.github.com/repos/reddit/reddit/issues/1401/events","html_url":"https://github.com/reddit/reddit/pull/1401","id":105267622,"number":1401,"title":"Fix vanishing data-fullname attribute from modmail messages.","user":{"login":"TheEnigmaBlade","id":79983,"avatar_url":"https://avatars.githubusercontent.com/u/79983?v=3","gravatar_id":"","url":"https://api.github.com/users/TheEnigmaBlade","html_url":"https://github.com/TheEnigmaBlade","followers_url":"https://api.github.com/users/TheEnigmaBlade/followers","following_url":"https://api.github.com/users/TheEnigmaBlade/following{/other_user}","gists_url":"https://api.github.com/users/TheEnigmaBlade/gists{/gist_id}","starred_url":"https://api.github.com/users/TheEnigmaBlade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheEnigmaBlade/subscriptions","organizations_url":"https://api.github.com/users/TheEnigmaBlade/orgs","repos_url":"https://api.github.com/users/TheEnigmaBlade/repos","events_url":"https://api.github.com/users/TheEnigmaBlade/events{/privacy}","received_events_url":"https://api.github.com/users/TheEnigmaBlade/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-07T21:12:13Z","updated_at":"2015-09-09T16:30:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/reddit/reddit/pulls/1401","html_url":"https://github.com/reddit/reddit/pull/1401","diff_url":"https://github.com/reddit/reddit/pull/1401.diff","patch_url":"https://github.com/reddit/reddit/pull/1401.patch"},"body":"The addition of subreddit colors introduced the `thing_data_attributes` def to the `message` template, which, according to my quick research about inheritance in mako, overrides the def of the same name in the parent `printable` template. This caused the `data-fullname` attribute to suddenly vanish and set many toolbox modmail features on fire.\r\n\r\nAs in the `thing_css_rowclass` def right above, the parent's `thing_data_attributes` should be executed to ensure data attributes like `data-fullname` are added."},"comment":{"url":"https://api.github.com/repos/reddit/reddit/issues/comments/138964402","html_url":"https://github.com/reddit/reddit/pull/1401#issuecomment-138964402","issue_url":"https://api.github.com/repos/reddit/reddit/issues/1401","id":138964402,"user":{"login":"florenceyeun","id":1264297,"avatar_url":"https://avatars.githubusercontent.com/u/1264297?v=3","gravatar_id":"","url":"https://api.github.com/users/florenceyeun","html_url":"https://github.com/florenceyeun","followers_url":"https://api.github.com/users/florenceyeun/followers","following_url":"https://api.github.com/users/florenceyeun/following{/other_user}","gists_url":"https://api.github.com/users/florenceyeun/gists{/gist_id}","starred_url":"https://api.github.com/users/florenceyeun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florenceyeun/subscriptions","organizations_url":"https://api.github.com/users/florenceyeun/orgs","repos_url":"https://api.github.com/users/florenceyeun/repos","events_url":"https://api.github.com/users/florenceyeun/events{/privacy}","received_events_url":"https://api.github.com/users/florenceyeun/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T16:30:14Z","updated_at":"2015-09-09T16:30:14Z","body":":fish: Thanks for the fix."}}