CC-4046: Timeline -> cannot drag and drog song into the posion between song's name and "show empty"
-fixed
This commit is contained in:
parent
32350c5246
commit
46604fdf59
|
@ -221,7 +221,6 @@ class Application_Model_ShowBuilder {
|
||||||
$row["title"] = $p_item["show_name"];
|
$row["title"] = $p_item["show_name"];
|
||||||
$row["instance"] = intval($p_item["si_id"]);
|
$row["instance"] = intval($p_item["si_id"]);
|
||||||
$row["image"] = '';
|
$row["image"] = '';
|
||||||
$row["id"] = -1;
|
|
||||||
|
|
||||||
$this->getScheduledStatus($startsEpoch, $endsEpoch, $row);
|
$this->getScheduledStatus($startsEpoch, $endsEpoch, $row);
|
||||||
|
|
||||||
|
@ -311,7 +310,6 @@ class Application_Model_ShowBuilder {
|
||||||
$row = $this->defaultRowArray;
|
$row = $this->defaultRowArray;
|
||||||
$row["footer"] = true;
|
$row["footer"] = true;
|
||||||
$row["instance"] = intval($p_item["si_id"]);
|
$row["instance"] = intval($p_item["si_id"]);
|
||||||
$row["id"] = -1;
|
|
||||||
$this->getRowTimestamp($p_item, $row);
|
$this->getRowTimestamp($p_item, $row);
|
||||||
|
|
||||||
$showEndDT = new DateTime($p_item["si_ends"], new DateTimeZone("UTC"));
|
$showEndDT = new DateTime($p_item["si_ends"], new DateTimeZone("UTC"));
|
||||||
|
|
|
@ -589,7 +589,7 @@ var AIRTIME = (function(AIRTIME){
|
||||||
$nRow.addClass("sb-future");
|
$nRow.addClass("sb-future");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (aData.allowed !== true || aData.header === true) {
|
if (aData.allowed !== true) {
|
||||||
$nRow.addClass("sb-not-allowed");
|
$nRow.addClass("sb-not-allowed");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -902,7 +902,7 @@ var AIRTIME = (function(AIRTIME){
|
||||||
|
|
||||||
return draggingContainer;
|
return draggingContainer;
|
||||||
},
|
},
|
||||||
items: 'tr:not(:first, :last, .sb-header, .sb-not-allowed, .sb-past, .sb-now-playing)',
|
items: 'tr:not(:first, :last, .sb-header, .sb-not-allowed, .sb-past, .sb-now-playing, .sb-empty)',
|
||||||
cancel: '.sb-footer',
|
cancel: '.sb-footer',
|
||||||
receive: fnReceive,
|
receive: fnReceive,
|
||||||
update: fnUpdate,
|
update: fnUpdate,
|
||||||
|
|
Loading…
Reference in New Issue