Merge "Fix for reload page after click on Delete button"

This commit is contained in:
Jenkins 2014-11-02 17:20:19 +00:00 committed by Gerrit Code Review
commit 35946b1f22
1 changed files with 2 additions and 1 deletions

View File

@ -188,7 +188,8 @@ function(React, utils, models, dialogs) {
}); });
var DeleteEnvironmentAction = React.createClass({ var DeleteEnvironmentAction = React.createClass({
applyAction: function() { applyAction: function(e) {
e.preventDefault();
utils.showDialog(dialogs.RemoveClusterDialog({cluster: this.props.cluster})); utils.showDialog(dialogs.RemoveClusterDialog({cluster: this.props.cluster}));
}, },
render: function() { render: function() {