CC-5245: It's able to edit contents for current ON AIR linked show

This commit is contained in:
drigato 2013-06-20 12:56:05 -04:00
parent bc16ac0793
commit 3f9e756912
1 changed files with 3 additions and 3 deletions

View File

@ -485,7 +485,7 @@ var AIRTIME = (function(AIRTIME){
$image,
$div,
headerIcon;
fnPrepareSeparatorRow = function fnPrepareSeparatorRow(sRowContent, sClass, iNodeIndex) {
$node = $(nRow.children[iNodeIndex]);
$node.html(sRowContent);
@ -620,7 +620,7 @@ var AIRTIME = (function(AIRTIME){
}
$node = $(nRow.children[0]);
if (aData.allowed === true && aData.scheduled >= 1) {
if (aData.allowed === true && aData.scheduled >= 1 && aData.linked_allowed) {
$node.html('<input type="checkbox" name="'+aData.id+'"></input>');
}
else {
@ -841,7 +841,7 @@ var AIRTIME = (function(AIRTIME){
});
$sbTable.find("tbody").on("click", "input:checkbox", function(ev) {
var $cb = $(this),
$tr = $cb.parents("tr"),
$prev;