always have new playlist option.
This commit is contained in:
parent
2dab76e5df
commit
3caab7db1e
2 changed files with 3 additions and 8 deletions
|
@ -35,14 +35,9 @@ if (window.attachEvent) window.attachEvent("onload", sfHover);
|
|||
</li>
|
||||
<li class="nav-main"><a>##Playlists##</a>
|
||||
<ul>
|
||||
<li><a onClick="hpopup('{$UI_HANDLER}?act=PL.create')">##New empty Playlist##</a></li>
|
||||
{if $PL->getActiveId()}
|
||||
<li><a href="{$UI_BROWSER}?id={$START.fid}&act=PL.simpleManagement">##Edit Playlist##</a></li>
|
||||
{else}
|
||||
{if $PL->reportLookedPL()}
|
||||
<li><a onClick="hpopup('{$UI_HANDLER}?act=PL.unlook')">##Reopen Playlist##</a></li>
|
||||
{else}
|
||||
<li><a onClick="hpopup('{$UI_HANDLER}?act=PL.create')">##New empty Playlist##</a></li>
|
||||
{/if}
|
||||
{/if}
|
||||
<li><a href="{$UI_BROWSER}?act=PL.import">##Import Playlist##</a></li>
|
||||
</ul>
|
||||
|
|
|
@ -276,9 +276,9 @@ class uiPlaylist
|
|||
// add clip if $id is set
|
||||
|
||||
if ($this->activeId) {
|
||||
$this->Base->_retMsg('A playlist is already opened.');
|
||||
return FALSE;
|
||||
$this->release();
|
||||
}
|
||||
|
||||
$datetime = strftime('%Y-%m-%d %H:%M:%S');
|
||||
$plid = $this->Base->gb->createPlaylist($datetime, $this->Base->sessid);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue