1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00
This commit is contained in:
Kevan Ahlquist 2015-02-01 17:15:58 -06:00
parent 990456dbdd
commit 3d251fdba4
4 changed files with 10 additions and 6 deletions

8
dist/dockerui.js vendored
View file

@ -1,6 +1,6 @@
/*! dockerui - v0.6.0 - 2015-01-31
/*! dockerui - v0.6.0 - 2015-02-01
* https://github.com/crosbymichael/dockerui
* Copyright (c) 2015 Michael Crosby;
* Copyright (c) 2015 Michael Crosby & Kevan Ahlquist;
* Licensed MIT
*/
angular.module('dockerui', ['dockerui.templates', 'ngRoute', 'dockerui.services', 'dockerui.filters', 'masthead', 'footer', 'dashboard', 'container', 'containers', 'images', 'image', 'startContainer', 'sidebar', 'settings', 'builder', 'containerLogs'])
@ -613,7 +613,9 @@ function($scope, $routeParams, $location, Container, Messages, containernameFilt
var s = $scope;
Container.create(config, function(d) {
if (d.Id) {
ctor.start({id: d.Id}, function(cd) {
var reqBody = config.HostConfig || {};
reqBody.id = d.Id;
ctor.start(reqBody, function(cd) {
if (cd.id) {
Messages.send('Container Started', d.Id);
$('#create-modal').modal('hide');