Lines Matching refs:sync
208 if (this.sync != null)
210 this.sync.fileChanged(success, error);
471 if (this.sync != null)
473 this.sync.updateOnlineState();
533 'user_' + uid + ((this.sync != null) ?
534 '-client_' + this.sync.clientId : '-nosync'));
540 action: functionName, label: 'user_' + uid + ((this.sync != null) ?
541 '-client_' + this.sync.clientId : '-nosync')});
570 var cid = (this.sync != null) ? '-client_' + this.sync.clientId : '-nosync';
590 ((this.sync != null) ? (((this.sync.enabled) ? ' enabled' : '') +
591 ((this.sync.isConnected()) ? ' connected' : '')) : '') +
1219 if (this.sync == null)
1221 this.sync = new DrawioFileSync(this);
1224 this.sync.start();
1779 if (this.sync != null)
1781 this.sync.resetUpdateStatusThread();
1783 if (this.sync.remoteFileChanged)
1785 this.sync.remoteFileChanged = false;
1786 this.sync.fileChangedNotify();
2001 if (this.sync != null && !this.isOptimisticSync())
2003 this.sync.createToken(secret, mxUtils.bind(this, function(token)
2022 if (this.sync != null && this.isOptimisticSync())
2024 this.sync.fileSaving();
2037 if (this.p2pCollab != null && this.sync != null)
2041 this.sync.sendFileChanges(this.ui.getPagesForNode(
2071 if (this.sync == null || this.isOptimisticSync())
2076 if (this.sync != null)
2078 this.sync.lastModified = this.getLastModifiedDate();
2079 this.sync.resetUpdateStatusThread();
2089 this.sync.fileSaved(this.ui.getPagesForNode(
2315 if (this.sync != null)
2317 this.sync.destroy();
2318 this.sync = null;