Fossil SCM
Get the /chat-fetch-one handler to lift the back-off delay on success.
Commit
d3baf9d5ecffe184644807decc067d274727821e140cfd688a1d5a91d088ef04
Parent
fd36f8490beb74a…
1 file changed
-3
| --- src/fossil.page.chat.js | ||
| +++ src/fossil.page.chat.js | ||
| @@ -842,13 +842,10 @@ | ||
| 842 | 842 | // We need to fetch the plain-text version... |
| 843 | 843 | const self = this; |
| 844 | 844 | F.fetch('chat-fetch-one',{ |
| 845 | 845 | urlParams:{ name: id, raw: true}, |
| 846 | 846 | responseType: 'json', |
| 847 | - function(){ | |
| 848 | - Chat.ajaxStart(); | |
| 849 | - }, | |
| 850 | 847 | onload: function(msg){ |
| 851 | 848 | reportConnectionReestablished(); |
| 852 | 849 | content.$elems[1] = D.append(D.pre(),msg.xmsg); |
| 853 | 850 | content.$elems[1]._xmsgRaw = msg.xmsg/*used for copy-to-clipboard feature*/; |
| 854 | 851 | self.toggleTextMode(e); |
| 855 | 852 |
| --- src/fossil.page.chat.js | |
| +++ src/fossil.page.chat.js | |
| @@ -842,13 +842,10 @@ | |
| 842 | // We need to fetch the plain-text version... |
| 843 | const self = this; |
| 844 | F.fetch('chat-fetch-one',{ |
| 845 | urlParams:{ name: id, raw: true}, |
| 846 | responseType: 'json', |
| 847 | function(){ |
| 848 | Chat.ajaxStart(); |
| 849 | }, |
| 850 | onload: function(msg){ |
| 851 | reportConnectionReestablished(); |
| 852 | content.$elems[1] = D.append(D.pre(),msg.xmsg); |
| 853 | content.$elems[1]._xmsgRaw = msg.xmsg/*used for copy-to-clipboard feature*/; |
| 854 | self.toggleTextMode(e); |
| 855 |
| --- src/fossil.page.chat.js | |
| +++ src/fossil.page.chat.js | |
| @@ -842,13 +842,10 @@ | |
| 842 | // We need to fetch the plain-text version... |
| 843 | const self = this; |
| 844 | F.fetch('chat-fetch-one',{ |
| 845 | urlParams:{ name: id, raw: true}, |
| 846 | responseType: 'json', |
| 847 | onload: function(msg){ |
| 848 | reportConnectionReestablished(); |
| 849 | content.$elems[1] = D.append(D.pre(),msg.xmsg); |
| 850 | content.$elems[1]._xmsgRaw = msg.xmsg/*used for copy-to-clipboard feature*/; |
| 851 | self.toggleTextMode(e); |
| 852 |