Skip to content
Snippets Groups Projects
Commit 05ec97a3 authored by buczekp's avatar buczekp
Browse files

workaround for problem with disabled upload field button after form reset

SVN: 13769
parent 06329e97
No related merge requests found
......@@ -35,7 +35,15 @@ public class BasicFileFieldManager extends FileFieldManager<FileUploadField>
@Override
protected FileUploadField createFileUploadField()
{
return new FileUploadField();
return new FileUploadField()
{
@Override
public void setReadOnly(boolean readOnly)
{
// WORKAROUND to keep the button enabled after field reset
this.readOnly = readOnly;
}
};
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment