From ffe3fa3afc0c99d0eb5e29416a9fafcb8df71f04 Mon Sep 17 00:00:00 2001 From: btangmu Date: Tue, 6 Aug 2024 13:36:46 -0400 Subject: [PATCH 1/3] CLDR-17799 Forum, fix bug in last PR -Change postType to pi.postType in openPostOrReply --- tools/cldr-apps/js/src/esm/cldrForum.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cldr-apps/js/src/esm/cldrForum.mjs b/tools/cldr-apps/js/src/esm/cldrForum.mjs index 511c9344061..87f635fcf38 100644 --- a/tools/cldr-apps/js/src/esm/cldrForum.mjs +++ b/tools/cldr-apps/js/src/esm/cldrForum.mjs @@ -247,7 +247,7 @@ function openPostOrReply(pi) { const subject = makePostSubject(isReply, rootPost, pi.subject); const root = isReply ? rootPost.id : -1; const open = isReply ? rootPost.open : true; - const typeLabel = makePostTypeLabel(postType, isReply); + const typeLabel = makePostTypeLabel(pi.postType, isReply); const html = makePostHtml( pi.postType, typeLabel, From 6bde72ccba13ee2c60b01740e7b685051297f774 Mon Sep 17 00:00:00 2001 From: btangmu Date: Tue, 6 Aug 2024 13:48:02 -0400 Subject: [PATCH 2/3] CLDR-17799 Forum, fix bug in last PR -Change postType to pi.postType in openPostOrReply --- tools/cldr-apps/js/src/esm/cldrForum.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cldr-apps/js/src/esm/cldrForum.mjs b/tools/cldr-apps/js/src/esm/cldrForum.mjs index 87f635fcf38..79cd4057fdf 100644 --- a/tools/cldr-apps/js/src/esm/cldrForum.mjs +++ b/tools/cldr-apps/js/src/esm/cldrForum.mjs @@ -260,7 +260,7 @@ function openPostOrReply(pi) { pi.value, pi.willFlag ); - const text = prefillPostText(postType, value); + const text = prefillPostText(pi.postType, value); openPostWindow(html, text, pi.parentPost); } From 03ef452221cf86c12ba6ac2f61590cfb99777c9d Mon Sep 17 00:00:00 2001 From: btangmu Date: Tue, 6 Aug 2024 13:50:18 -0400 Subject: [PATCH 3/3] CLDR-17799 Forum, fix bug in last PR -Change value to value in openPostOrReply --- tools/cldr-apps/js/src/esm/cldrForum.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cldr-apps/js/src/esm/cldrForum.mjs b/tools/cldr-apps/js/src/esm/cldrForum.mjs index 79cd4057fdf..04e544726ce 100644 --- a/tools/cldr-apps/js/src/esm/cldrForum.mjs +++ b/tools/cldr-apps/js/src/esm/cldrForum.mjs @@ -260,7 +260,7 @@ function openPostOrReply(pi) { pi.value, pi.willFlag ); - const text = prefillPostText(pi.postType, value); + const text = prefillPostText(pi.postType, pi.value); openPostWindow(html, text, pi.parentPost); }