CC-5450 : Refactor Media Management (Classes/DB) in Airtime
formatters back on now playing, over booked button check fix.
This commit is contained in:
parent
a0c7926903
commit
f4bc1d3810
|
@ -331,9 +331,13 @@ class Application_Model_ShowBuilder
|
|||
$row["album"] = htmlspecialchars($mediaItem->getSource());
|
||||
$row["mime"] = $mediaItem->getMime();
|
||||
|
||||
$row["cuein"] = $scheduledItem->getDbCueIn();
|
||||
$row["cueout"] = $scheduledItem->getDbCueOut();
|
||||
$row['runtime'] = $scheduledItem->getDbClipLength();
|
||||
$formatter = new Format_HHMMSSULength($scheduledItem->getDbCueIn());
|
||||
$row["cuein"] = $formatter->format();
|
||||
$formatter = new Format_HHMMSSULength($scheduledItem->getDbCueOut());
|
||||
$row["cueout"] = $formatter->format();
|
||||
$formatter = new Format_HHMMSSULength($scheduledItem->getDbClipLength());
|
||||
$row["runtime"] = $formatter->format();
|
||||
|
||||
$row["fadein"] = $scheduledItem->getDbFadeIn();
|
||||
$row["fadeout"] = $scheduledItem->getDbFadeOut();
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ var AIRTIME = (function(AIRTIME){
|
|||
};
|
||||
|
||||
mod.checkTrimButton = function() {
|
||||
var $over = $sbTable.find(".sb-over.sb-allowed"),
|
||||
var $over = $sbTable.find(".sb-over.sb-allowed").not(".sb-past"),
|
||||
$button = $(".sb-overbooked");
|
||||
|
||||
if ($over.length !== 0) {
|
||||
|
|
Loading…
Reference in New Issue