Skip to content

Commit 5aa8152

Browse files
committed
changeSlideshow
1 parent 81c3722 commit 5aa8152

File tree

1 file changed

+9
-0
lines changed
  • services/static-webserver/client/source/class/osparc/data/model

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@ qx.Class.define("osparc.data.model.StudyUI", {
4242
this.addAnnotation(annotation);
4343
});
4444
}
45+
46+
slideshow.addListener("changeSlideshow", () => {
47+
this.fireDataEvent("projectDocumentChanged", {
48+
"op": "replace",
49+
"path": "/ui/slideshow",
50+
"value": slideshow.serialize(),
51+
"osparc-resource": "study-ui",
52+
});
53+
}, this);
4554
},
4655

4756
properties: {

0 commit comments

Comments
 (0)