Skip to content

Commit ee7d6d7

Browse files
committed
jobs
1 parent 0796a6f commit ee7d6d7

File tree

2 files changed

+8
-0
lines changed
  • services/static-webserver/client/source/class/osparc

2 files changed

+8
-0
lines changed

services/static-webserver/client/source/class/osparc/data/Job.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,11 @@ qx.Class.define("osparc.data.Job", {
7474
nullable: false,
7575
init: null,
7676
},
77+
78+
info: {
79+
check: "Object",
80+
nullable: false,
81+
init: null,
82+
},
7783
},
7884
});

services/static-webserver/client/source/class/osparc/store/Jobs.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ qx.Class.define("osparc.store.Jobs", {
6767
if (index === -1) {
6868
const job = new osparc.data.Job(jobData);
6969
jobs.push(job);
70+
this.fireEvent("changeJobs");
7071
return job;
7172
}
7273
return null;
@@ -75,6 +76,7 @@ qx.Class.define("osparc.store.Jobs", {
7576
removeJobs: function() {
7677
const jobs = this.getJobs();
7778
jobs.forEach(job => job.dispose());
79+
this.fireEvent("changeJobs");
7880
},
7981
}
8082
});

0 commit comments

Comments
 (0)