Refactor revision selectors for future file attachment support.
Review Request #6342 — Created Sept. 19, 2014 and submitted — Latest diff uploaded
This change refactors the
DiffRevisionSelectorViewcontrol to abstract out
common functionality into a newRevisionSelectorViewabstract base class. This
is then inherited by the existingDiffRevisionSelectorViewand a new
FileAttachmentRevisionSelectorView.
Tested the various behavior in the
DiffRevisionSelectorView.
FileAttachmentRevisionSelectorViewis currently un-tested.
| reviewboard/staticbundles.py |
|---|
| reviewboard/static/rb/js/diffviewer/views/diffRevisionSelectorView.js |
|---|
| reviewboard/static/rb/js/views/revisionSelectorView.js |
|---|