mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
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.)
25 lines
601 B
HTML
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 %}
|