mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-12 10:45:14 +02:00
Updated DB Schemata + reverted escape HTML of alert boxes
This commit is contained in:
parent
ea1eb48596
commit
aa7888c37d
@ -3,7 +3,7 @@ function init_db_schema() {
|
||||
try {
|
||||
global $pdo;
|
||||
|
||||
$db_version = "17112022_2115";
|
||||
$db_version = "23122022_1445";
|
||||
|
||||
$stmt = $pdo->query("SHOW TABLES LIKE 'versions'");
|
||||
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
|
||||
|
@ -1,7 +1,7 @@
|
||||
$(document).ready(function() {
|
||||
// mailcow alert box generator
|
||||
window.mailcow_alert_box = function(message, type) {
|
||||
msg = $('<span/>').text(escapeHtml(message)).text();
|
||||
msg = $('<span/>').text(message).text();
|
||||
if (type == 'danger' || type == 'info') {
|
||||
auto_hide = 0;
|
||||
$('#' + localStorage.getItem("add_modal")).modal('show');
|
||||
|
Loading…
Reference in New Issue
Block a user