add file input for progressive enhancement and testing
This commit is contained in:
parent
be3052ce6d
commit
8ca685e089
2 changed files with 9 additions and 1 deletions
|
|
@ -4,6 +4,11 @@
|
|||
|
||||
function FileUploadControl(fieldName, imageArray, removeLabel, fileLimit, size) {
|
||||
|
||||
|
||||
// Remove the existing field
|
||||
var replace = document.getElementById( fieldName );
|
||||
replace.parentNode.removeChild( replace );
|
||||
|
||||
this.images = imageArray;
|
||||
this.fileLimit = fileLimit;
|
||||
this.fileCount = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue