permission(webforms): attachments private
This commit is contained in:
parent
bb67915445
commit
a07e76d27e
1 changed files with 4 additions and 0 deletions
|
|
@ -51,6 +51,10 @@ export default class WebForm {
|
|||
df.options = null;
|
||||
}
|
||||
|
||||
if (df.fieldtype==='Attach') {
|
||||
df.is_private = true;
|
||||
}
|
||||
|
||||
// Set defaults
|
||||
if (query_params && query_params["new"] == 1 && df.fieldname in query_params) {
|
||||
df.default = query_params[df.fieldname];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue