changeset 883:8593ff2579f4

Ignore empty file-input form
author HIROSE Yuuji <yuuji@gentei.org>
date Wed, 16 Dec 2020 09:45:35 +0900
parents a46e85d50954
children 4e755437dbcb
files s4-funcs.sh
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Wed Dec 16 09:20:52 2020 +0900
+++ b/s4-funcs.sh	Wed Dec 16 09:45:35 2020 +0900
@@ -1581,6 +1581,9 @@
 	      continue
 	    fi
 	    ;;
+	  image|document|binary)
+	    # When no file name supplied to input[type="file"]
+	    continue ;;
 	  *)
 	    type='string'
 	    ;;

yatex.org