Fixed bug #1038694 'Change in service order not reflected in stage view'

bzr-revno: 2076
Fixes: https://launchpad.net/bugs/1038694
This commit is contained in:
Erik Lundin 2012-10-10 16:53:06 +02:00 committed by Andreas Preikschat
commit 89f3323f61
1 changed files with 3 additions and 1 deletions

View File

@ -139,8 +139,10 @@ window.OpenLP = {
"/api/poll",
function (data, status) {
OpenLP.updateClock(data);
if (OpenLP.currentItem != data.results.item) {
if (OpenLP.currentItem != data.results.item ||
OpenLP.currentService != data.results.service) {
OpenLP.currentItem = data.results.item;
OpenLP.currentService = data.results.service;
OpenLP.loadSlides();
}
else if (OpenLP.currentSlide != data.results.slide) {