1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 07:19:41 +02:00

Add missing files

This commit is contained in:
Michael Crosby 2013-09-02 20:35:51 -07:00
parent 9eaa75a572
commit d17adc0f9d
6 changed files with 54 additions and 26 deletions

View file

@ -440,23 +440,6 @@ function StartContainerController($scope, $routeParams, $location, Container, Me
function BuilderController($scope, Dockerfile, Messages) {
$scope.template = '/partials/builder.html';
ace.config.set('basePath', '/lib/ace-builds/src-noconflict/');
var spinner = new Spinner();
$scope.build = function() {
spinner.spin(document.getElementById('build-modal'));
Dockerfile.build(editor.getValue(), function(d) {
console.log(d.currentTarget.response);
$scope.messages = d.currentTarget.response;
$scope.$apply();
spinner.stop();
}, function(e) {
$scope.messages = e;
$scope.$apply();
spinner.stop();
});
};
}
function failedRequestHandler(e, Messages) {