Fossil SCM

/chat: added a missing JS dependency which broke the new text-toggle/copy feature.

stephan 2022-06-20 22:18 trunk
Commit eeacf82158a9cb36823d913b410f52e2e67ef36b2580b28f1e1c392fa928400a
1 file changed +2 -1
+2 -1
--- src/chat.c
+++ src/chat.c
@@ -235,11 +235,12 @@
235235
@ <span id='message-inject-point'></span>
236236
@ </div>
237237
fossil_free(zProjectName);
238238
fossil_free(zInputPlaceholder0);
239239
builtin_fossil_js_bundle_or("popupwidget", "storage", "fetch",
240
- "pikchr", "confirmer", NULL);
240
+ "pikchr", "confirmer", "copybutton",
241
+ NULL);
241242
/* Always in-line the javascript for the chat page */
242243
@ <script nonce="%h(style_nonce())">/* chat.c:%d(__LINE__) */
243244
/* We need an onload handler to ensure that window.fossil is
244245
initialized before the chat init code runs. */
245246
@ window.addEventListener('load', function(){
246247
--- src/chat.c
+++ src/chat.c
@@ -235,11 +235,12 @@
235 @ <span id='message-inject-point'></span>
236 @ </div>
237 fossil_free(zProjectName);
238 fossil_free(zInputPlaceholder0);
239 builtin_fossil_js_bundle_or("popupwidget", "storage", "fetch",
240 "pikchr", "confirmer", NULL);
 
241 /* Always in-line the javascript for the chat page */
242 @ <script nonce="%h(style_nonce())">/* chat.c:%d(__LINE__) */
243 /* We need an onload handler to ensure that window.fossil is
244 initialized before the chat init code runs. */
245 @ window.addEventListener('load', function(){
246
--- src/chat.c
+++ src/chat.c
@@ -235,11 +235,12 @@
235 @ <span id='message-inject-point'></span>
236 @ </div>
237 fossil_free(zProjectName);
238 fossil_free(zInputPlaceholder0);
239 builtin_fossil_js_bundle_or("popupwidget", "storage", "fetch",
240 "pikchr", "confirmer", "copybutton",
241 NULL);
242 /* Always in-line the javascript for the chat page */
243 @ <script nonce="%h(style_nonce())">/* chat.c:%d(__LINE__) */
244 /* We need an onload handler to ensure that window.fossil is
245 initialized before the chat init code runs. */
246 @ window.addEventListener('load', function(){
247

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button