mirror of
https://github.com/docker/docs.git
synced 2026-04-13 14:56:12 +07:00
WIP beta
This commit is contained in:
@@ -82,17 +82,16 @@ var ContainerModal = React.createClass({
|
||||
}
|
||||
},
|
||||
handleClick: function (name, event) {
|
||||
this.props.onRequestHide();
|
||||
ContainerStore.create(name, 'latest', function (err, containerName) {
|
||||
if (err) {
|
||||
throw err;
|
||||
}
|
||||
this.props.onRequestHide();
|
||||
}.bind(this));
|
||||
},
|
||||
handleTagClick: function (tag, name, event) {
|
||||
ContainerStore.create(name, tag, function (err, containerName) {
|
||||
this.props.onRequestHide();
|
||||
}.bind(this));
|
||||
this.props.onRequestHide();
|
||||
ContainerStore.create(name, tag, function (err, containerName) {});
|
||||
},
|
||||
handleDropdownClick: function (name, event) {
|
||||
this.setState({
|
||||
|
||||
Reference in New Issue
Block a user