Fossil SCM
/chat: added a missing JS dependency which broke the new text-toggle/copy feature.
Commit
eeacf82158a9cb36823d913b410f52e2e67ef36b2580b28f1e1c392fa928400a
Parent
cb651568fbfe66c…
1 file changed
+2
-1
+2
-1
| --- src/chat.c | ||
| +++ src/chat.c | ||
| @@ -235,11 +235,12 @@ | ||
| 235 | 235 | @ <span id='message-inject-point'></span> |
| 236 | 236 | @ </div> |
| 237 | 237 | fossil_free(zProjectName); |
| 238 | 238 | fossil_free(zInputPlaceholder0); |
| 239 | 239 | builtin_fossil_js_bundle_or("popupwidget", "storage", "fetch", |
| 240 | - "pikchr", "confirmer", NULL); | |
| 240 | + "pikchr", "confirmer", "copybutton", | |
| 241 | + NULL); | |
| 241 | 242 | /* Always in-line the javascript for the chat page */ |
| 242 | 243 | @ <script nonce="%h(style_nonce())">/* chat.c:%d(__LINE__) */ |
| 243 | 244 | /* We need an onload handler to ensure that window.fossil is |
| 244 | 245 | initialized before the chat init code runs. */ |
| 245 | 246 | @ window.addEventListener('load', function(){ |
| 246 | 247 |
| --- 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 |