Serialize commit ID to the DiffCommit js model
Review Request #7319 — Created May 19, 2015 and submitted
The
DiffViewerViewpreviously did not serialize the commit IDs of the
commits it was sending. This has been rectified so that the commit ID
attribute can be read from JavaScript. ThecommitIdattribute has
also been renamed tocommitID.
Verified the
commitIDattribute is accessible from theDiffCommit
model.
 
Tool: Pyflakes Processed Files: reviewboard/diffviewer/views.py Ignored Files: reviewboard/static/rb/js/diffviewer/models/diffCommitModel.js Tool: PEP8 Style Checker Processed Files: reviewboard/diffviewer/views.py Ignored Files: reviewboard/static/rb/js/diffviewer/models/diffCommitModel.js