SyncManager exclude savedItems from retrievedItems, syncing source string

This commit is contained in:
Mo Bitar
2018-01-23 10:05:23 -06:00
parent 05af90290b
commit ed3f0aa620
14 changed files with 62 additions and 40 deletions

View File

@@ -302,7 +302,7 @@ angular.module('app')
var prefs = new Item({content_type: prefsContentType});
modelManager.addItem(prefs);
prefs.setDirty(true);
$rootScope.sync();
$rootScope.sync("authManager singletonCreate");
valueCallback(prefs);
});
@@ -312,7 +312,7 @@ angular.module('app')
this.syncUserPreferences = function() {
this.userPreferences.setDirty(true);
$rootScope.sync();
$rootScope.sync("syncUserPreferences");
}
this.getUserPrefValue = function(key, defaultValue) {