mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-09 07:30:01 +00:00
Temporarily Disable SSE
This commit is contained in:
parent
87f4a525f8
commit
3c7f06009b
@ -126,6 +126,14 @@ MultiWikiClientAdaptor.prototype.getStatus = function(callback) {
|
||||
Get details of changed tiddlers from the server
|
||||
*/
|
||||
MultiWikiClientAdaptor.prototype.getUpdatedTiddlers = function(syncer,callback) {
|
||||
// Temporary override to disable SSE
|
||||
this.pollServer({
|
||||
callback: function(err,changes) {
|
||||
callback(null,changes);
|
||||
}
|
||||
});
|
||||
return;
|
||||
// Disabled SSE code
|
||||
var self = this;
|
||||
// Do nothing if there's already a connection in progress.
|
||||
if(this.serverUpdateConnectionStatus !== SERVER_NOT_CONNECTED) {
|
||||
|
@ -2,4 +2,4 @@ title: $:/plugins/multiwikiclient/SideBarSegment
|
||||
tags: $:/tags/SideBarSegment
|
||||
list-before: $:/core/ui/SideBarSegments/page-controls
|
||||
|
||||
MWS Connection Status: {{$:/state/multiwikiclient/connection}}
|
||||
<!-- MWS Connection Status: {{$:/state/multiwikiclient/connection}} -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user