upload form: fix disabling of publish button on files
During the merge of upstream, the newly added condition got dropped. This MR disables the Publish button, when there are non-uploaded files in the file browser.
During the merge of upstream, the newly added condition got dropped. This MR disables the Publish button, when there are non-uploaded files in the file browser.