fixing ng-upload forms for firefox

under firefox ng-upload seems to trigger the callback on page load
so we can just ignore this (as was done in gpg-keys already) if there is no
content
Merge pull request #3615 from jlsherrill/upload

fixing ng-upload forms for firefox