Files
modoboa/templates/admin/mbaliasform.html
T
tonio c43fdc2371 fixed #107
Removed useless fields (full_address) and added associated migrations. SQL queries used by postfix or dovecot will need to be updated. (as the documentation)

see #103

Big refactoring of objects creation and edition. (javascript cleanup, forms factoring, etc.)
2011-01-01 16:32:52 +01:00

25 lines
601 B
HTML

{% extends "admin/adminform.html" %}
{% block html_head %}
{{ block.super }}
<script type="text/javascript">
window.addEvent("domready", function() {
mbaliasform_init = function() {
$("id_domain").addEvent("change", function(event) {
var domid = this.value;
if (domid == "") {
$("id_mboxes").set("html", "");
return;
}
new Request({
url: "{% url domains %}" + domid + "/rawmboxes/?target=mbaliases",
method: "get", onSuccess: function(data) {
$("id_mboxes").set("html", data);
}
}).send();
});
};
mbaliasform_init();
});
</script>
{% endblock %}