Commit b3fb6428 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '948-minervanet-error-report-112' into 'master'

Resolve "MINERVANET - Error Report 112"

Closes #948

See merge request minerva/core!929
parents 79916664 57c2bd8d
Pipeline #13868 passed with stage
in 15 minutes
minerva (14.0.0~beta.2) unstable; urgency=low
* Bug fix: allow user to remove own comments (#931)
* Bug fix: validation of project name length is provided (#950)
* Bug fix: after reducing privileges on himself interface is refreshed (#948)
-- Piotr Gawron <piotr.gawron@uni.lu> Mon, 16 Sep 2019 21:00:00 +0200
......
......@@ -225,7 +225,13 @@ EditUserDialog.prototype.createGeneralTabContent = function () {
} else {
GuiConnector.alert("Invalid role: " + role);
}
return Promise.all(promises);
return Promise.all(promises).then(function () {
return self.getServerConnector().getLoggedUser();
}).then(function (loggedUser) {
if (loggedUser.getLogin() === self.getUser().getLogin()) {
window.location.reload(false);
}
});
}
);
return result;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment