Upload via GUI (30 Dateien)
This commit is contained in:
@@ -43,6 +43,12 @@
|
||||
var mi = message.querySelector('textarea');
|
||||
if (mi) { mi.disabled = !f.messageShow; mi.required = !!f.messageShow; mi.placeholder = f.messageHint || ''; }
|
||||
}
|
||||
var attach = form.querySelector('.dht-attach');
|
||||
if (attach) {
|
||||
attach.hidden = !f.attachments;
|
||||
var fi = attach.querySelector('input[type=file]');
|
||||
if (fi) { fi.disabled = !f.attachments; if (!f.attachments) { fi.value = ''; } }
|
||||
}
|
||||
var submit = form.querySelector('.dht-submit');
|
||||
if (submit && f.submitLabel) { submit.textContent = f.submitLabel; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user