mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-29 12:59:56 +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);
|
callback(null);
|
||||||
};
|
};
|
||||||
if(this.syncer.syncadaptor.getUpdatedTiddlers) {
|
if(this.syncer.syncadaptor.getUpdatedTiddlers) {
|
||||||
this.syncer.syncadaptor.getUpdatedTiddlers(self,function(err,updates) {
|
this.syncer.syncadaptor.getUpdatedTiddlers(self.syncer,function(err,updates) {
|
||||||
if(err) {
|
if(err) {
|
||||||
self.syncer.displayError($tw.language.getString("Error/RetrievingSkinny"),err);
|
self.syncer.displayError($tw.language.getString("Error/RetrievingSkinny"),err);
|
||||||
return callback(err);
|
return callback(err);
|
||||||
|
Loading…
Reference in New Issue
Block a user