UNCLASSIFIED

Commit 4c2a462d authored by Keith Becker's avatar Keith Becker
Browse files

open one email client to send to each selected student

parent ee5a458a
...@@ -402,12 +402,8 @@ export default { ...@@ -402,12 +402,8 @@ export default {
}, },
mailSelectedStudents() { mailSelectedStudents() {
let studentEmails = this.getSelectedStudents.map(student => student.email); let studentEmails = this.getSelectedStudents.map(student => student.email);
let index = 1; const studentEmailsStr = studentEmails.join(';');
studentEmails.forEach(function (email) { window.open("mailto:" + studentEmailsStr, "_blank", "width=800,height=500")
setTimeout(() => window.open("mailto:" + email, "_blank", "width=800,height=500"), 500 * index);
index++;
});
}, },
btnPushEditPoc() { btnPushEditPoc() {
if (this.getSelectedPocs.length > 0) { if (this.getSelectedPocs.length > 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment