Fossil SCM

Use the long date format for all messages in the chat search dialog, not just those that match the current query.

dan 2024-07-09 15:20 trunk
Commit 2a3a32edea798488bd39381fdd149cbae81548a3fc54a187e79c9397bd7cbf8c
1 file changed +1
--- src/fossil.page.chat.js
+++ src/fossil.page.chat.js
@@ -1455,10 +1455,11 @@
14551455
},
14561456
responseType: "json",
14571457
onload:function(jx){
14581458
if( bDown ) jx.msgs.reverse();
14591459
jx.msgs.forEach((m) => {
1460
+ m.isSearchResult = true;
14601461
var mw = new Chat.MessageWidget(m);
14611462
if( bDown ){
14621463
/* Inject the message below this object's body, or
14631464
append it to Chat.e.searchContent if this element
14641465
is the final one in its parent (Chat.e.searchContent). */
14651466
--- src/fossil.page.chat.js
+++ src/fossil.page.chat.js
@@ -1455,10 +1455,11 @@
1455 },
1456 responseType: "json",
1457 onload:function(jx){
1458 if( bDown ) jx.msgs.reverse();
1459 jx.msgs.forEach((m) => {
 
1460 var mw = new Chat.MessageWidget(m);
1461 if( bDown ){
1462 /* Inject the message below this object's body, or
1463 append it to Chat.e.searchContent if this element
1464 is the final one in its parent (Chat.e.searchContent). */
1465
--- src/fossil.page.chat.js
+++ src/fossil.page.chat.js
@@ -1455,10 +1455,11 @@
1455 },
1456 responseType: "json",
1457 onload:function(jx){
1458 if( bDown ) jx.msgs.reverse();
1459 jx.msgs.forEach((m) => {
1460 m.isSearchResult = true;
1461 var mw = new Chat.MessageWidget(m);
1462 if( bDown ){
1463 /* Inject the message below this object's body, or
1464 append it to Chat.e.searchContent if this element
1465 is the final one in its parent (Chat.e.searchContent). */
1466

Keyboard Shortcuts

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