diff --git a/CHANGELOG b/CHANGELOG index 67dec5e3a203e0590e8136b27d298041f02b83d5..f7e58591828f99fa6adaf77899819e2403babf4f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -5,6 +5,8 @@ minerva (12.2.3) stable; urgency=medium * Bug fix: remove button is disabled after starting removing of the data overlay (#791) * Bug fix: search autocomplete hint could be initially hidden (#793) + * Bug fix: updating terms of use could crash when list of users was removed + in separate tab or by another user (#797) -- Piotr Gawron <piotr.gawron@uni.lu> Wed, 24 Apr 2019 17:00:00 +0200 diff --git a/frontend-js/src/main/js/ServerConnector.js b/frontend-js/src/main/js/ServerConnector.js index a7389db08b071c99cdf62d2fcc24e96e23de2fc1..c19e048cb65fb94fdcc57e54a63d7fbbb7867e5b 100644 --- a/frontend-js/src/main/js/ServerConnector.js +++ b/frontend-js/src/main/js/ServerConnector.js @@ -1340,7 +1340,7 @@ ServerConnector.updateUser = function (user) { */ ServerConnector.resetUserTos = function () { var self = this; - return self.getUsers().then(function (users) { + return self.getUsers(true).then(function (users) { var promises = []; for (var i = 0; i < users.length; i++) { var user = users[i];