Fix ajax error not being shown

This commit is contained in:
Raphael Michel
2025-10-08 09:44:47 +02:00
parent a823f261f3
commit 802268df46
2 changed files with 3 additions and 1 deletions

View File

@@ -330,9 +330,11 @@ var ajaxErrDialog = {
$("#ajaxerr .links").html("<a class='btn btn-default ajaxerr-close'>"
+ gettext("Close message") + "</a>");
$("body").addClass("ajaxerr has-modal-dialog");
$("#ajaxerr").prop("hidden", false);
},
hide: function () {
"use strict";
$("body").removeClass("ajaxerr has-modal-dialog");
$("#ajaxerr").prop("hidden", true);
},
};