updating sockets to only init once.

This commit is contained in:
John Mitchell
2015-05-20 11:22:25 -04:00
parent f09ef53a6c
commit 299ece0b22
12 changed files with 160 additions and 152 deletions

View File

@@ -58,7 +58,7 @@ describeModule('DashboardGraphs')
$rootScope.$on('DataReceived:JobStatusGraph', function(e, data) {
result.resolve(data);
});
$rootScope.$emit('JobStatusChange');
$rootScope.$emit('JobStatusChange-home');
restStub.succeed({ data: expected });
restStub.flush();
}]);