]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-6602 refresh collections after membership change 346/head
authorStas Vilchik <vilchiks@gmail.com>
Tue, 2 Jun 2015 14:14:18 +0000 (16:14 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 2 Jun 2015 14:14:18 +0000 (16:14 +0200)
server/sonar-web/src/main/js/apps/groups/users-view.js
server/sonar-web/src/main/js/apps/users/groups-view.js

index cfe6468ce0e0b3996213a18395e6323036481400..bd236b670409eaa6dcba48bb21b3c6a924d1a533 100644 (file)
@@ -31,6 +31,11 @@ define([
           return r.users;
         }
       });
+    },
+
+    onClose: function () {
+      this.model.collection.refresh();
+      Modal.prototype.onClose.apply(this, arguments);
     }
   });
 
index 1634fb1d244d07f20f0aa3669194c79fa55e5566..992594b4f101cdb09c961fb4478647be99a5d166 100644 (file)
@@ -32,6 +32,11 @@ define([
           return r.groups;
         }
       });
+    },
+
+    onClose: function () {
+      this.model.collection.refresh();
+      Modal.prototype.onClose.apply(this, arguments);
     }
   });