Upload Attachment View - Submit form without specifying a file

Review Request #7149 — Created April 1, 2015 and submitted — Latest diff uploaded

Information

Review Board
master
4956318...

Reviewers

Currently, if you open the modal for file uploads, you would be presented a form for uploads. Currently, the upload button is enabled, and submission is allowed without specifying a file to submit. This patch would allow set the button to disabled by default, and only enable it if a file is specified.

Manual testing was performed.

Diff Revision 3

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

orig
1
2
3
4
reviewboard/static/rb/js/views/uploadAttachmentView.js
Loading...