From: Stas Vilchik Date: Tue, 2 Jun 2015 14:14:18 +0000 (+0200) Subject: SONAR-6602 refresh collections after membership change X-Git-Tag: 5.2-RC1~1691^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8ab0ef45e6b300334be8b8e6c9c27fed9b0d7224;p=sonarqube.git SONAR-6602 refresh collections after membership change --- diff --git a/server/sonar-web/src/main/js/apps/groups/users-view.js b/server/sonar-web/src/main/js/apps/groups/users-view.js index cfe6468ce0e..bd236b67040 100644 --- a/server/sonar-web/src/main/js/apps/groups/users-view.js +++ b/server/sonar-web/src/main/js/apps/groups/users-view.js @@ -31,6 +31,11 @@ define([ return r.users; } }); + }, + + onClose: function () { + this.model.collection.refresh(); + Modal.prototype.onClose.apply(this, arguments); } }); diff --git a/server/sonar-web/src/main/js/apps/users/groups-view.js b/server/sonar-web/src/main/js/apps/users/groups-view.js index 1634fb1d244..992594b4f10 100644 --- a/server/sonar-web/src/main/js/apps/users/groups-view.js +++ b/server/sonar-web/src/main/js/apps/users/groups-view.js @@ -32,6 +32,11 @@ define([ return r.groups; } }); + }, + + onClose: function () { + this.model.collection.refresh(); + Modal.prototype.onClose.apply(this, arguments); } });