Backbone view for attachment upload

Review Request #5911 — Created May 31, 2014 and submitted — Latest diff uploaded

Information

Review Board

Reviewers

A working version of a Backbone view for file uploads (the one that you see when you click Update -> Add File). Previously that popup is used gReviewRequest hack. Now it's a standalone view, as that view is also needed for attachment revisioning.

Side note: The only other thing that needs gReviewRequest hack is "Update Diff" popup. Once someone writes a view for that, gReviewRequest can be removed.

Tested: * Uploading new attachments. * Error when no attachment is specified. * Multiple errors returned from server side (see screenshots).

Diff Revision 5

This is not the most recent revision of the diff. The latest diff is revision 10. See what's changed.

orig
1
2
3
4
5
6
7
8
9
10
reviewboard/staticbundles.py
reviewboard/static/rb/js/views/uploadAttachmentView.js
Loading...