do not set id in input field for file upload field

field can be duplicated and that makes the id no unique
This commit is contained in:
Uwe Steinmann 2017-04-28 13:12:20 +02:00
parent 2ddb45fa08
commit adb7368acc

View File

@ -872,7 +872,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
<div class="input-append"> <div class="input-append">
<input type="text" class="form-control" readonly> <input type="text" class="form-control" readonly>
<span class="btn btn-default btn-file"> <span class="btn btn-default btn-file">
'.getMLText("browse").'&hellip; <input id="'.$id.'" type="file" name="'.$varname.'"'.($multiple ? " multiple" : "").($accept ? ' accept="'.$accept.'"' : "").'"> '.getMLText("browse").'&hellip; <input _id="'.$id.'" type="file" name="'.$varname.'"'.($multiple ? " multiple" : "").($accept ? ' accept="'.$accept.'"' : "").'">
</span> </span>
</div> </div>
</div> </div>