Move the CommentBarIssueView creation code into ReviewBoxView.
Review Request #4381 — Created Aug. 2, 2013 and submitted
Move the CommentBarIssueView creation code into ReviewBoxView. The code to create a CommentBarIssueView was being done inside the template for the page, adding more script tags and more document.ready calls. This code is now created when rendering the ReviewBoxView. It creates based on data attributes now stored on the element. It's part of an effort to remove <script> tags in the templates, which will help with the require.js migration.
Tested loading comments without issues, and comments with. That's with and without a logged in user. Tested changing issue state.
Description | From | Last Updated |
---|---|---|
So {{interactive}} is theoretically a boolean, but what we get from .data is a string. Can you convert explicitly? |
david |