Merge "Disable Cancel Changes button during network verification"

This commit is contained in:
Jenkins 2016-02-08 11:03:20 +00:00 committed by Gerrit Code Review
commit 20660b8a34
1 changed files with 2 additions and 1 deletions

View File

@ -846,7 +846,8 @@ var NetworkTab = React.createClass({
},
renderButtons() {
var isCancelChangesDisabled = this.state.actionInProgress ||
!!this.props.cluster.task({group: 'deployment', active: true}) || !this.hasChanges();
!!this.props.cluster.task({group: ['deployment', 'network'], active: true}) ||
!this.hasChanges();
return (
<div className='well clearfix'>
<div className='btn-group pull-right'>