removing unnecessary stuff and changing slides properly
This commit is contained in:
parent
31db6ab1ef
commit
97430e38a6
1 changed files with 6 additions and 6 deletions
|
@ -161,13 +161,13 @@ Controls.Page {
|
||||||
console.log("index grabbed: " + index);
|
console.log("index grabbed: " + index);
|
||||||
console.log(item);
|
console.log(item);
|
||||||
|
|
||||||
presentation.stopVideo();
|
/* presentation.stopVideo(); */
|
||||||
pWindow.stopVideo();
|
/* pWindow.stopVideo(); */
|
||||||
/* presentation.itemType = item.type; */
|
/* presentation.itemType = item.type; */
|
||||||
console.log("Time to start changing");
|
console.log("Time to start changing");
|
||||||
|
|
||||||
ServiceItemModel.activate(index);
|
ServiceItemModel.activate(index);
|
||||||
SlideObject.changeSlide(slide);
|
SlideObject.changeSlide(slide, slideId);
|
||||||
|
|
||||||
/* if (item.backgroundType === "video") */
|
/* if (item.backgroundType === "video") */
|
||||||
/* { */
|
/* { */
|
||||||
|
@ -189,13 +189,13 @@ Controls.Page {
|
||||||
console.log("index grabbed: " + index);
|
console.log("index grabbed: " + index);
|
||||||
console.log(item);
|
console.log(item);
|
||||||
|
|
||||||
presentation.stopVideo();
|
/* presentation.stopVideo(); */
|
||||||
pWindow.stopVideo();
|
/* pWindow.stopVideo(); */
|
||||||
/* presentation.itemType = item.type; */
|
/* presentation.itemType = item.type; */
|
||||||
console.log("Time to start changing");
|
console.log("Time to start changing");
|
||||||
|
|
||||||
ServiceItemModel.activate(currentServiceItem);
|
ServiceItemModel.activate(currentServiceItem);
|
||||||
SlideObject.changeSlide(item);
|
SlideObject.changeSlide(item, index);
|
||||||
presentation.textIndex = 0;
|
presentation.textIndex = 0;
|
||||||
console.log("Slide changed to: " + index);
|
console.log("Slide changed to: " + index);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue