Commit fb01dd62 authored by bbaer's avatar bbaer
Browse files

fixed upload delete handler

parent 992fd78f
......@@ -391,12 +391,12 @@ var QfqNS = QfqNS || {};
var $buttonParent = $button.parent();
$buttonParent.addClass('hidden');
var $inputFile = $buttonParent.siblings(':file');
$inputFile.prop("disabled", false);
var $inputFile = $buttonParent.siblings('label');
$inputFile.children(':file').prop("disabled", false);
$inputFile.removeClass('hidden');
$inputFile.parent().removeClass('hidden');
$inputFile.children(':file').removeClass('hidden');
$inputFile.val("");
$inputFile.children(':file').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