Skip to content
Snippets Groups Projects
Commit 85a9655c authored by Damien's avatar Damien
Browse files

[FEAT] #5427 Do not check attachments when del

parent 59707808
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,7 @@ function validEmailForm (path, form_id) {
var attachments = $j("#joined_files input.check");
if (attachments.length > 0 && !path.includes("for=save")) {
if (attachments.length > 0 && path.includes("for=send")) {
var hasOneChecked = false;
for (var i = 0; i < attachments.length; i++) {
if (attachments[i].checked == true) {
......
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