mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 10:00:34 +00:00
Syncer: fix object reference
We should be passing the syncer object, not the task object
This commit is contained in:
parent
5c283f843b
commit
9d94459c5d
@ -635,7 +635,7 @@ SyncFromServerTask.prototype.run = function(callback) {
|
||||
callback(null);
|
||||
};
|
||||
if(this.syncer.syncadaptor.getUpdatedTiddlers) {
|
||||
this.syncer.syncadaptor.getUpdatedTiddlers(self,function(err,updates) {
|
||||
this.syncer.syncadaptor.getUpdatedTiddlers(self.syncer,function(err,updates) {
|
||||
if(err) {
|
||||
self.syncer.displayError($tw.language.getString("Error/RetrievingSkinny"),err);
|
||||
return callback(err);
|
||||
|
Loading…
Reference in New Issue
Block a user