<p>UPDATE:</p>

<p>I've identified the problem, though I'm not sure how to fix it (yet). When you click "upload" without attaching a file, the file checking conditions never get called, and the page gets refreshed. This in turn sets off the "duplicate" condition and gives the user a false warning that the empty profile has been uploaded and already exists.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/opentechinstitute/luci-commotion/issues/40#issuecomment-27533711'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/HSS0tS4nfORw_XnPQF8f0Xj0Acu4jIrrwMQXhD4UHD-QGiivvddXCYufroLSjDxv.gif' height='1' width='1'></p>