diff --git a/js/apps/system/_admin/aardvark/APP/frontend/js/views/graphManagementView.js b/js/apps/system/_admin/aardvark/APP/frontend/js/views/graphManagementView.js index f20cf4ad4e..1fa917d946 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/js/views/graphManagementView.js +++ b/js/apps/system/_admin/aardvark/APP/frontend/js/views/graphManagementView.js @@ -89,6 +89,7 @@ if (refetch) { this.collection.fetch({ + cache: false, success: function() { callback(); } @@ -213,6 +214,7 @@ var self = this; this.collection.fetch({ + cache: false, success: function() { self.collection.sort(); @@ -303,7 +305,9 @@ editGraph : function(e) { e.stopPropagation(); - this.collection.fetch(); + this.collection.fetch({ + cache: false + }); this.graphToEdit = this.evaluateGraphName($(e.currentTarget).attr("id"), '_settings'); var graph = this.collection.findWhere({_key: this.graphToEdit}); this.createEditGraphModal( @@ -469,6 +473,7 @@ updateGraphManagementView: function() { var self = this; this.collection.fetch({ + cache: false, success: function() { self.render(); } diff --git a/js/apps/system/_admin/aardvark/APP/frontend/js/views/userManagementView.js b/js/apps/system/_admin/aardvark/APP/frontend/js/views/userManagementView.js index fb7b4e13ca..1d54486789 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/js/views/userManagementView.js +++ b/js/apps/system/_admin/aardvark/APP/frontend/js/views/userManagementView.js @@ -49,6 +49,7 @@ //fetch collection defined in router this.collection.fetch({ + cache: false, success: function() { self.collection.whoAmI(callback); } @@ -107,6 +108,7 @@ }.bind(this); this.collection.fetch({ + cache: false, success: function() { callbackFunction(); } @@ -193,6 +195,7 @@ updateUserManagement: function() { var self = this; this.collection.fetch({ + cache: false, success: function() { self.render(); } @@ -208,7 +211,9 @@ e.currentTarget = $(e.currentTarget).find('img'); } - this.collection.fetch(); + this.collection.fetch({ + cache: false + }); var username = this.evaluateUserName($(e.currentTarget).attr("id"), '_edit-user'); if (username === '') { username = $(e.currentTarget).attr('id'); @@ -275,6 +280,7 @@ updateUserProfile: function() { var self = this; this.collection.fetch({ + cache: false, success: function() { self.render(); }