From: Stas Vilchik Date: Wed, 3 Feb 2016 16:07:00 +0000 (+0100) Subject: fix loading of results in project permissions page X-Git-Tag: 5.4-M12~12 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=073a360bee8214fc91da28295c6e22efbff57e60;p=sonarqube.git fix loading of results in project permissions page --- diff --git a/server/sonar-web/src/main/js/apps/project-permissions/permissions-footer.js b/server/sonar-web/src/main/js/apps/project-permissions/permissions-footer.js index ebcd7ff2cc4..f6710b3f074 100644 --- a/server/sonar-web/src/main/js/apps/project-permissions/permissions-footer.js +++ b/server/sonar-web/src/main/js/apps/project-permissions/permissions-footer.js @@ -28,12 +28,17 @@ export default React.createClass({ loadMore: React.PropTypes.func.isRequired }, + handleLoadMore (e) { + e.preventDefault(); + this.props.loadMore(); + }, + render() { if (this.props.componentId) { return null; } let hasMore = this.props.total > this.props.count; - let loadMoreLink = show more; + let loadMoreLink = show more; let className = classNames('spacer-top note text-center', { 'new-loading': !this.props.ready }); return (