parent
4c05dd7415
commit
86a7926fef
|
@ -123,7 +123,7 @@ EditorFactory.prototype.createFile = function(label, name, required, size, id, v
|
||||||
var file = document.createElement("input");
|
var file = document.createElement("input");
|
||||||
$(file).attr("type", "file");
|
$(file).attr("type", "file");
|
||||||
if(required == "true"){
|
if(required == "true"){
|
||||||
$(field).attr("required", "required");
|
$(file).attr("required", "required");
|
||||||
}
|
}
|
||||||
// $(field).attr("maxlength", size);
|
// $(field).attr("maxlength", size);
|
||||||
$(fileEditor).append(fieldName.outerHTML + file.outerHTML);
|
$(fileEditor).append(fieldName.outerHTML + file.outerHTML);
|
||||||
|
|
Loading…
Reference in New Issue