CC-4751: Calendar: Add/Remove contents won't trig status update of shows
-fix problem when baseurl changed
This commit is contained in:
parent
97eeafb142
commit
3a70a371be
1 changed files with 3 additions and 1 deletions
|
@ -41,10 +41,12 @@ var AIRTIME = (function(AIRTIME){
|
||||||
|
|
||||||
mod.updateCalendarStatusIcon = function(json) {
|
mod.updateCalendarStatusIcon = function(json) {
|
||||||
|
|
||||||
if (window.location.pathname.toLowerCase() != "/schedule") {
|
|
||||||
|
if (window.location.pathname.toLowerCase() != baseUrl+"/schedule") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
var instance_id = json.schedule[0].instance;
|
var instance_id = json.schedule[0].instance;
|
||||||
|
|
||||||
var lastElem = json.schedule[json.schedule.length-1];
|
var lastElem = json.schedule[json.schedule.length-1];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue