diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-06-02 16:14:18 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-06-02 16:14:18 +0200 |
commit | 8ab0ef45e6b300334be8b8e6c9c27fed9b0d7224 (patch) | |
tree | d221c1c4ba5f09ff149d9ae5825d238c60d1401e /server/sonar-web | |
parent | 66a868f92cb3d10e054a5d8322f91d99bb6942d4 (diff) | |
download | sonarqube-8ab0ef45e6b300334be8b8e6c9c27fed9b0d7224.tar.gz sonarqube-8ab0ef45e6b300334be8b8e6c9c27fed9b0d7224.zip |
SONAR-6602 refresh collections after membership change
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/js/apps/groups/users-view.js | 5 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/users/groups-view.js | 5 |
2 files changed, 10 insertions, 0 deletions
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); } }); |