Not need to render at Full sync

This commit is contained in:
life
2017-01-21 11:57:39 +08:00
parent 6e4a877997
commit 85a164f7c1
2 changed files with 59 additions and 1 deletions

4
node_modules/sync.js generated vendored
View File

@@ -654,6 +654,9 @@ var Sync = {
// mainType == notebook, note, tag
// type = changeAdds, changeConflicts, adds, deletes, updates, conflicts, errors,
fixSynced: function (mainType, type, data) {
if (this.fullSyncStart) {
return;
}
var o = {};
if (!Common.isArray(data)) {
data = [data];
@@ -738,6 +741,7 @@ var Sync = {
setSyncFinished: function(hasError) {
var me = this;
me.incrSyncStart = false;
me.fullSyncStart = false;
// Web.syncProgress(0);
Web.syncFinished(hasError);
},