opentechinstitute/luci-commotion — pull request #43 by gradyoti (2013-11-01 17:31:35+00:00)
Title: Improved logic of uploader function

Removed unnecessary if condition. Now all uploads are run through the checkFile function, which will catch empty uploads.

To check:
1) Navigate to mesh profile page
2) Click "upload" (do NOT attach a file first)
3) The page should refresh with a warning that says "There does not seem to be a file here"

Rinse and repeat.