mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-12-22 14:21:31 +00:00
[Web][DockerApi] Add the ability to rename the local part of a mailbox
This commit is contained in:
@@ -58,6 +58,11 @@ $(document).ready(function() {
|
||||
$('input[name=multiple_bookings]').val($("#multiple_bookings_custom").val());
|
||||
});
|
||||
|
||||
$("#show_mailbox_rename_form").click(function() {
|
||||
$("#rename_warning").hide();
|
||||
$("#rename_form").removeClass("d-none");
|
||||
});
|
||||
|
||||
// load tags
|
||||
if ($('#tags').length){
|
||||
var tagsEl = $('#tags').parent().find('.tag-values')[0];
|
||||
|
||||
@@ -2354,7 +2354,7 @@ jQuery(function($){
|
||||
else
|
||||
$(tab).find(".table_collapse_option").hide();
|
||||
}
|
||||
|
||||
|
||||
function filterByDomain(json, column, table){
|
||||
var tableId = $(table.table().container()).attr('id');
|
||||
// Create the `select` element
|
||||
@@ -2377,12 +2377,12 @@ jQuery(function($){
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
// get unique domain list
|
||||
domains = domains.filter(function(value, index, array) {
|
||||
return array.indexOf(value) === index;
|
||||
});
|
||||
|
||||
|
||||
// add domains to select
|
||||
domains.forEach(function(domain) {
|
||||
select.append($('<option>' + domain + '</option>'));
|
||||
|
||||
Reference in New Issue
Block a user