Only show the drag and drop indicator when the review request is editable.
Review Request #6312 — Created Sept. 10, 2014 and submitted — Latest diff uploaded
Only show the drag and drop indicator when the review request is editable.
Ran JS tests.
Tried to drag-and-drop a file:
as the creator of the review request - indicator appears
while signed in as an admin - indicator appears
while signed in as a different user (not admin) - indicator does not appear
while not signed in - indicator does not appear
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.
orig
1
2
reviewboard/static/rb/js/views/reviewRequestEditorView.js |
---|