CC-3453 : Playlist
reworking inital playlist events to all use the new "on" delegation in jQuery. fixing some out of date errors.
This commit is contained in:
parent
b5f92dfa93
commit
9509c70595
4 changed files with 113 additions and 106 deletions
|
@ -520,7 +520,7 @@ class Application_Model_Playlist {
|
|||
throw $e;
|
||||
}
|
||||
|
||||
return array("fadeIn"=> $fadeIn, "fadeOut"=> $fadeOut);
|
||||
return array("fadeIn" => $fadeIn, "fadeOut" => $fadeOut);
|
||||
}
|
||||
|
||||
public function setPlaylistfades($fadein, $fadeout) {
|
||||
|
@ -536,11 +536,12 @@ class Application_Model_Playlist {
|
|||
}
|
||||
|
||||
if (isset($fadeout)) {
|
||||
Logging::log("Setting playlist fade out {$fadeout}");
|
||||
$row = CcPlaylistcontentsQuery::create()
|
||||
->filterByDbPlaylistId($this->id)
|
||||
->filterByDbPosition($this->getSize()-1)
|
||||
->findOne($this->con);
|
||||
|
||||
|
||||
$this->changeFadeInfo($row->getDbId(), null, $fadeout);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue