diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-10-05 13:51:39 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-10-05 13:51:39 +0200 |
commit | e0f21ee25c1bf5ce7764c09e96ffc7c5ee76997a (patch) | |
tree | 2185e4e1f45bc2b911c38910a9b72b0512dca415 /server/sonar-web | |
parent | 4e0ad7cda41d4baba44feb06976e4a3da4ac0bcc (diff) | |
download | sonarqube-e0f21ee25c1bf5ce7764c09e96ffc7c5ee76997a.tar.gz sonarqube-e0f21ee25c1bf5ce7764c09e96ffc7c5ee76997a.zip |
do not lose the search on the project permissions page
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/js/apps/project-permissions/main.jsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/project-permissions/main.jsx b/server/sonar-web/src/main/js/apps/project-permissions/main.jsx index 479b50fde46..0df1ea739df 100644 --- a/server/sonar-web/src/main/js/apps/project-permissions/main.jsx +++ b/server/sonar-web/src/main/js/apps/project-permissions/main.jsx @@ -63,6 +63,10 @@ export default React.createClass({ this.requestPermissions(1, query); }, + refresh() { + this.requestPermissions(1, this.state.query); + }, + bulkApplyTemplate(e) { e.preventDefault(); new ApplyTemplateView({ @@ -90,7 +94,7 @@ export default React.createClass({ projects={this.state.projects} permissions={this.state.permissions} permissionTemplates={this.props.permissionTemplates} - refresh={this.requestPermissions}/> + refresh={this.refresh}/> <PermissionsFooter count={this.state.projects.length} |