Merge pull request #963 from chrishunt/chrishunt/refresh-user-list-after-approval

Refresh admin user list after approval
This commit is contained in:
Robin Ward 2013-06-05 12:07:49 -07:00
commit eb673c7e5d
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ Discourse.AdminUsersListController = Ember.ArrayController.extend(Discourse.Pres
**/
approveUsers: function() {
Discourse.AdminUser.bulkApprove(this.get('content').filterProperty('selected'));
this.refreshUsers();
}
});