can drag song to a certain point in the playlist.
This commit is contained in:
parent
1183b69149
commit
a41c6475f4
3 changed files with 22 additions and 9 deletions
|
@ -164,11 +164,12 @@ class PlaylistController extends Zend_Controller_Action
|
|||
public function addItemAction()
|
||||
{
|
||||
$id = $this->_getParam('id');
|
||||
$pos = $this->_getParam('pos', null);
|
||||
|
||||
if (!is_null($id)) {
|
||||
|
||||
$pl = $this->getPlaylist();
|
||||
$res = $pl->addAudioClip($id);
|
||||
$res = $pl->addAudioClip($id, $pos);
|
||||
|
||||
if (PEAR::isError($res)) {
|
||||
$this->view->message = $res->getMessage();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue