CC-5210: "Linked" Icon is missing after adding contents into linked show

-fixed
This commit is contained in:
Martin Konecny 2013-06-07 15:15:52 -04:00
parent 311e0c103d
commit b18495a79e
3 changed files with 13 additions and 5 deletions

View file

@ -51,6 +51,14 @@ var AIRTIME = (function(AIRTIME){
var lastElem = json.schedule[json.schedule.length-1];
var $elem = $("#fc-show-instance-"+instance_id);
//if the show is linked, then replace $elem to reference all linked
//instances
if ($elem.data("show-linked") == "1") {
var show_id = $elem.data("show-id");
$elem = $('*[data-show-id="'+show_id+'"]');
}
$elem.find(".show-empty, .show-partial-filled").remove();
if (json.schedule[1].empty) {
$elem