                 $scope.fscheduler = forcesched
                 $scope.builderName = project + '-deploy'
 
-                $scope.submit()
-
                 modal = {}
                 modal.modal = $uibModal.open
                     templateUrl: 'buildbot_travis/views/deploy_latest_dialog.html'

        Array::toDict = (key) ->
            @reduce ((dict, obj) -> dict[ obj[key] ] = obj if obj[key]?; return dict), {}

        filterProjects = ->
            console.log 'Filtering projects ...'
            for p in $scope.cfg.projects
                if p.stages? and p.stages.length > 0
                    $scope.projectsFiltered.push(p)


        initVersions = ->
            console.log 'Initializing the versions ...'
            for p in $scope.projectsFiltered
                latestDeployedVersion = {}
                latestDeployedVersion.projectName = p.name
                latestDeployedVersion.stages_sorted = {}

        $scope.projectsFiltered = []
        latestDeployedVersionByProject = []
        gitTagsByProject = []
        gitTagRevisionMap = []
        gitTagRevisionMapDict = {}
        projectsDict = {}
        data = []

        # We need access to the deliverables names / stages / GIT tags / commit-description property
