diff --git a/submodules/groups/groups.js b/submodules/groups/groups.js index eba42dc4..b1a953d0 100644 --- a/submodules/groups/groups.js +++ b/submodules/groups/groups.js @@ -1647,7 +1647,7 @@ define(function(require){ groupsHasWalkthrough: function(callback) { var self = this, - flag = self.helpSettings.user.get('showGroupsWalkthrough'); + flag = self.uiFlags.user.get('showGroupsWalkthrough'); if(flag !== false) { callback && callback(); @@ -1656,7 +1656,7 @@ define(function(require){ groupsUpdateWalkthroughFlagUser: function(callback) { var self = this, - userToSave = self.helpSettings.user.set('showGroupsWalkthrough', false); + userToSave = self.uiFlags.user.set('showGroupsWalkthrough', false); self.groupsUpdateOriginalUser(userToSave, function(user) { callback && callback(user); diff --git a/submodules/myOffice/myOffice.js b/submodules/myOffice/myOffice.js index 02652dd1..8b6539c4 100644 --- a/submodules/myOffice/myOffice.js +++ b/submodules/myOffice/myOffice.js @@ -881,7 +881,7 @@ define(function(require){ myOfficeHasWalkthrough: function(callback) { var self = this, - flag = self.helpSettings.user.get('showDashboardWalkthrough'); + flag = self.uiFlags.user.get('showDashboardWalkthrough'); if(flag !== false) { callback && callback(); @@ -922,7 +922,7 @@ define(function(require){ myOfficeUpdateWalkthroughFlagUser: function(callback) { var self = this, - userToSave = self.helpSettings.user.set('showDashboardWalkthrough', false); + userToSave = self.uiFlags.user.set('showDashboardWalkthrough', false); self.myOfficeUpdateOriginalUser(userToSave, function(user) { callback && callback(user); diff --git a/submodules/strategy/strategy.js b/submodules/strategy/strategy.js index 07830c38..f13ec28c 100644 --- a/submodules/strategy/strategy.js +++ b/submodules/strategy/strategy.js @@ -251,7 +251,7 @@ define(function(require){ strategyHasWalkthrough: function(name, callback) { var self = this, - flag = self.helpSettings.user.get(name); + flag = self.uiFlags.user.get(name); if(flag !== false) { callback && callback(); @@ -260,7 +260,7 @@ define(function(require){ strategyUpdateWalkthroughFlagUser: function(flagName, callback) { var self = this, - userToSave = self.helpSettings.user.set(flagName, false); + userToSave = self.uiFlags.user.set(flagName, false); self.strategyUpdateOriginalUser(userToSave, function(user) { callback && callback(user); diff --git a/submodules/users/users.js b/submodules/users/users.js index 37467efb..3be196e9 100644 --- a/submodules/users/users.js +++ b/submodules/users/users.js @@ -97,7 +97,7 @@ define(function(require){ usersHasWalkthrough: function(callback) { var self = this, - flag = self.helpSettings.user.get('showUsersWalkthrough'); + flag = self.uiFlags.user.get('showUsersWalkthrough'); if(flag !== false) { callback && callback(); @@ -106,7 +106,7 @@ define(function(require){ usersUpdateWalkthroughFlagUser: function(callback) { var self = this, - userToSave = self.helpSettings.user.set('showUsersWalkthrough', false); + userToSave = self.uiFlags.user.set('showUsersWalkthrough', false); self.usersUpdateOriginalUser(userToSave, function(user) { callback && callback(user);