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:
@@ -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
|
||||
};
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user