This commit is contained in:
Cameron Dawson 2014-01-15 20:10:56 -08:00
Родитель 268aafa93b
Коммит 7038d3e4b3
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -272,14 +272,14 @@ treeherder.factory('thResultSetModelManager',
var updateJob = function(newJob) {
var loadedJob = jobMap[newJob.id];
if (loadedJob) {
$log.debug("job already loaded, updating");
$log.debug("updating existing job");
$.extend(loadedJob, newJob);
} else {
// this job is not yet in the model or the map. add it to both
$log.debug("adding new job");
var rsMapElement = rsMap[newJob.result_set_id];
if (!rsMapElement) {
console.error("we should have added the resultset for this job already!");
$log.error("we should have added the resultset for this job already!");
return;
}