# 'check_fd' uses FormData to allow file submissions in the 'problem_check' dispatch,
# in addition to simple querystring-based answers
#
# NOTE: The dispatch 'problem_check' is being singled out for the use of FormData;
# maybe preferable to consolidate all dispatches to use FormData
###
check_fd:=>
Logger.log'problem_check',@answers
# If there are no file inputs in the problem, we can fall back on @check
if$('input:file').length==0
@check()
return
ifnotwindow.FormData
alert"Sorry, your browser does not support file uploads. Your submit request could not be fulfilled. If you can, please use Chrome or Safari which have been verified to support file uploads."