Bug 33104: Add email validation
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
99e19c60ee
commit
e5e4279a04
|
|
@ -617,6 +617,12 @@
|
|||
});
|
||||
nodes.append(`<button onclick="add_interface();" class="btn btn-default"><i class="fa fa-plus"></i> ` + _("Add another interface") + '</button>')
|
||||
$("#interfaces").replaceWith(nodes);
|
||||
|
||||
interfaces.forEach((interface, i) => {
|
||||
$("#interface_account_email_" + i).rules("add", {
|
||||
email: true,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
var Sticky;
|
||||
|
|
|
|||
Loading…
Reference in New Issue