Commit 40106a91 authored by bbaer's avatar bbaer
Browse files

corrected required

parent accf1598
......@@ -397,11 +397,11 @@ var QfqNS = QfqNS || {};
$inputFile.children(':file').removeClass('hidden');
$inputFile.children(':file').val("");
if ($inputFile.data('required')=='required') {
$inputFile.prop("required", true);
if ($inputFile.children(':file').data('required')=='required') {
$inputFile.children(':file').prop("required", true);
}
$inputFile.val("");
$inputFile.children(':file').val("");
this.form.markChanged();
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment