Use new WS Connection object in task Manager App

This commit is contained in:
Nicolas Le Goff
2014-02-26 19:35:32 +01:00
parent 1d8c0e86cf
commit 947545620a
2 changed files with 15 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ define([
});
_.each(response.tasks, function(data, id) {
var jobModel = $this.tasksCollection.get(id);
if ("undefined" !== jobModel) {
if ("undefined" !== typeof jobModel) {
jobModel.set({
"actual": data["actual"],
"process-id": data["process-id"],