Fossil SCM
Use the long date format for all messages in the chat search dialog, not just those that match the current query.
Commit
2a3a32edea798488bd39381fdd149cbae81548a3fc54a187e79c9397bd7cbf8c
Parent
77e1f8670d42049…
1 file changed
+1
| --- src/fossil.page.chat.js | ||
| +++ src/fossil.page.chat.js | ||
| @@ -1455,10 +1455,11 @@ | ||
| 1455 | 1455 | }, |
| 1456 | 1456 | responseType: "json", |
| 1457 | 1457 | onload:function(jx){ |
| 1458 | 1458 | if( bDown ) jx.msgs.reverse(); |
| 1459 | 1459 | jx.msgs.forEach((m) => { |
| 1460 | + m.isSearchResult = true; | |
| 1460 | 1461 | var mw = new Chat.MessageWidget(m); |
| 1461 | 1462 | if( bDown ){ |
| 1462 | 1463 | /* Inject the message below this object's body, or |
| 1463 | 1464 | append it to Chat.e.searchContent if this element |
| 1464 | 1465 | is the final one in its parent (Chat.e.searchContent). */ |
| 1465 | 1466 |
| --- 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 |