Commit 6791e7c7 authored by bbaer's avatar bbaer
Browse files

Checks if fileupload data-required is set, if so sets input required after fileDelete.

parent ce714764
......@@ -395,6 +395,10 @@ var QfqNS = QfqNS || {};
$inputFile.prop("disabled", false);
$inputFile.removeClass('hidden');
if ($inputFile.data('required')=='required') {
$inputFile.prop("required", true);
}
$inputFile.val("");
this.form.markChanged();
......
Supports Markdown
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