SyncManager exclude savedItems from retrievedItems, syncing source string
This commit is contained in:
@@ -80,7 +80,7 @@ class AccountMenu {
|
||||
}, 1000)
|
||||
});
|
||||
})
|
||||
})
|
||||
}, null, "submitPasswordChange")
|
||||
}
|
||||
|
||||
$scope.submitMfaForm = function() {
|
||||
@@ -162,7 +162,7 @@ class AccountMenu {
|
||||
var block = function() {
|
||||
$timeout(function(){
|
||||
$scope.onSuccessfulAuth()();
|
||||
syncManager.sync();
|
||||
syncManager.sync("onAuthSuccess");
|
||||
})
|
||||
}
|
||||
|
||||
@@ -280,7 +280,7 @@ class AccountMenu {
|
||||
|
||||
syncManager.sync((response) => {
|
||||
callback(response, errorCount);
|
||||
}, {additionalFields: ["created_at", "updated_at"]});
|
||||
}, {additionalFields: ["created_at", "updated_at"]}, "importJSONData");
|
||||
}.bind(this)
|
||||
|
||||
if(data.auth_params) {
|
||||
@@ -443,7 +443,7 @@ class AccountMenu {
|
||||
alert("Your items have been successfully re-encrypted and synced. You must sign out of all other signed in applications (mobile, desktop, web) and sign in again, or else you may corrupt your data.")
|
||||
$scope.newPasswordData = {};
|
||||
}, 1000)
|
||||
});
|
||||
}, null, "reencryptPressed");
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ class EditorMenu {
|
||||
}
|
||||
component.setAppDataItem("defaultEditor", true);
|
||||
component.setDirty(true);
|
||||
syncManager.sync();
|
||||
syncManager.sync("makeEditorDefault");
|
||||
|
||||
$scope.defaultEditor = component;
|
||||
}
|
||||
@@ -59,7 +59,7 @@ class EditorMenu {
|
||||
$scope.removeEditorDefault = function(component) {
|
||||
component.setAppDataItem("defaultEditor", false);
|
||||
component.setDirty(true);
|
||||
syncManager.sync();
|
||||
syncManager.sync("removeEditorDefault");
|
||||
|
||||
$scope.defaultEditor = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user