mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-11-15 09:23:58 +01:00
@@ -30,6 +30,9 @@ window.addEvent("domready", function() {
|
||||
domain_submit = function(event) {
|
||||
generic_submit(this, event, "domform", domain_submit);
|
||||
};
|
||||
domalias_submit = function(event) {
|
||||
generic_submit(this, event, "domaliasform", domalias_submit);
|
||||
};
|
||||
mailbox_submit = function(event) {
|
||||
generic_submit(this, event, "mboxform", mailbox_submit);
|
||||
};
|
||||
@@ -60,6 +63,9 @@ window.addEvent("domready", function() {
|
||||
if ($("domform"))
|
||||
$("domform").addEvent("submit", domain_submit);
|
||||
|
||||
if ($("domaliasform"))
|
||||
$("domaliasform").addEvent("submit", domalias_submit);
|
||||
|
||||
if ($("mboxform"))
|
||||
$("mboxform").addEvent("submit", mailbox_submit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user