mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-05 12:34:08 +01:00
wip: UI refactoring
* fixed an issue with the FETCH responses parser * Aliases are now displayed into *identities* * French translation update see #204
This commit is contained in:
@@ -17,6 +17,12 @@ function get_account_list(container) {
|
||||
});
|
||||
}
|
||||
|
||||
function get_mboxes_list(container) {
|
||||
$.getJSON("{% url modoboa.admin.views.mboxes_list %}", function(data) {
|
||||
container.value = data;
|
||||
});
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$("a[name=delaccount]").confirm({
|
||||
question: gettext("Delete this account?"),
|
||||
@@ -28,6 +34,9 @@ $(document).ready(function() {
|
||||
$("a[name=delforward]").confirm({
|
||||
question: gettext("Delete this forward?")
|
||||
});
|
||||
$("a[name=delalias]").confirm({
|
||||
question: gettext("Delete this alias?")
|
||||
});
|
||||
$("#pagination_bar").find(".disabled").click(function(e) {
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user