mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-19 01:25:35 +00:00
[Web] Fix urlencoded objects in api
This commit is contained in:
parent
07a05b9363
commit
64dbd54478
1 changed files with 4 additions and 0 deletions
|
|
@ -124,6 +124,9 @@ $(document).ready(function() {
|
|||
}
|
||||
if (typeof multi_data[id] == "undefined") return;
|
||||
api_items = multi_data[id];
|
||||
for (var i in api_items) {
|
||||
api_items[i] = decodeURIComponent(api_items[i]);
|
||||
}
|
||||
// alert(JSON.stringify(api_attr));
|
||||
if (Object.keys(api_items).length !== 0) {
|
||||
if (is_active($(this))) { return false; }
|
||||
|
|
@ -251,6 +254,7 @@ $(document).ready(function() {
|
|||
$(document).on('show.bs.modal', '#ConfirmDeleteModal', function() {
|
||||
$("#ItemsToDelete").empty();
|
||||
for (var i in data_array) {
|
||||
data_array[i] = decodeURIComponent(data_array[i]);
|
||||
$("#ItemsToDelete").append("<li>" + data_array[i] + "</li>");
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue