Elastic: Fix leftover comma characters after inserting multiple recipients at once

pull/6486/head
Aleksander Machniak 6 years ago
parent 3a212b5be0
commit e97848eada

@ -3065,7 +3065,7 @@ function rcube_elastic_ui()
}
});
text = text.replace(/[,;]+/, ',').replace(/^[,;]/, '');
text = text.replace(/[,;]+/, ',').replace(/^[,;\s]+/, '');
return {recipients: recipients, text: text};
};

Loading…
Cancel
Save