BRCF#90569 ook in de popup natuurlijke linebreaks, en de popup her-centreren na het terugkrijgen van de AI-tekst

svn path=/Website/trunk/; revision=70456
This commit is contained in:
2025-09-30 07:49:59 +00:00
parent 9f12648f2f
commit 56ad026d17
2 changed files with 9 additions and 4 deletions

View File

@@ -172,7 +172,9 @@ if (mld_key > 0)
var $ai_body = $popup.find(".mld-summary > .card > .body > i").parent(".body");
if ($ai_body.length) {
$ai_body.data("summary", json.content);
$.when($ai_body.text(json.content)).then(FcltMgr.resized);
$.when($ai_body.text(json.content)).then(_ => {
$popup.closest("[role='dialog']").position({ my: "center", at: "center", of: parent.window });
});
}
}
});
@@ -186,7 +188,7 @@ if (mld_key > 0)
ai_params = {
modal: true,
width: 600,
position: { my: "center", at: "center", of: <%=1 == 1 ? "parent." : ""%>window },
position: { my: "center", at: "center", of: parent.window },
create: parent.FcltMgr.fnCreateCloseButton(".ai_mld_summary"),
closeOnEscape: true
};

View File

@@ -6961,8 +6961,11 @@ div.werkweekend {
content: "\2b"; /* fa-plus */
}
}
.mld-summary .card::after {
content: "\f737"; /* fa-clipboard-list-check */
.mld-summary {
white-space: pre-wrap;
.card::after {
content: "\f737"; /* fa-clipboard-list-check */
}
}
/* chatter */