From 7fc5888bb0c5e29e93499956965da5177a3fbbb6 Mon Sep 17 00:00:00 2001 From: jakedt Date: Wed, 5 Mar 2014 16:33:24 -0500 Subject: [PATCH] Load the recent builds every time the repo loads. --- static/js/controllers.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/static/js/controllers.js b/static/js/controllers.js index d9ba93c2d..a6b7bb8bd 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -655,10 +655,8 @@ function RepoCtrl($scope, $sanitize, Restangular, ImageMetadataService, ApiServi $rootScope.description = jQuery(getFirstTextLine(repo.description)).text() || 'Visualization of images and tags for ' + kind + ' Docker repository: ' + qualifiedRepoName; - // If the repository is marked as building, start monitoring it for changes. - if (repo.is_building) { - startBuildInfoTimer(repo); - } + // Load the builds for this repository. If none are active it will cancel the poll. + startBuildInfoTimer(repo); $('#copyClipboard').clipboardCopy(); });