get rid of close button
This commit is contained in:
parent
991f56698b
commit
51d983c5f6
|
@ -57,7 +57,6 @@
|
||||||
<input type="button" class="button_large" onClick="collector_clearAll('PL', 'PL.removeItem')" value="##Clear Playlist##" />
|
<input type="button" class="button_large" onClick="collector_clearAll('PL', 'PL.removeItem')" value="##Clear Playlist##" />
|
||||||
</div>
|
</div>
|
||||||
<div class="pl_container_button">
|
<div class="pl_container_button">
|
||||||
<input type="button" class="button_large" onClick="popup('{$UI_BROWSER}?popup[]=PL.confirmRelease', 'PL.confirmRelease', 400, 50)" value="##Close Playlist##">
|
|
||||||
<input type="button" class="button_large" value="##Description##" onClick="location.href='{$UI_BROWSER}?act=PL.editMetaData'">
|
<input type="button" class="button_large" value="##Description##" onClick="location.href='{$UI_BROWSER}?act=PL.editMetaData'">
|
||||||
<input type="button" class="button_large" value="##Delete Playlist##" onClick="popup('{$UI_BROWSER}?popup[]=PL.confirmDelete', 'PL.deleteActive', 400, 50)">
|
<input type="button" class="button_large" value="##Delete Playlist##" onClick="popup('{$UI_BROWSER}?popup[]=PL.confirmDelete', 'PL.deleteActive', 400, 50)">
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -89,11 +89,9 @@ class uiPlaylist
|
||||||
// store access token to ls_pref abd session
|
// store access token to ls_pref abd session
|
||||||
// load PL into session
|
// load PL into session
|
||||||
if ($this->activeId) {
|
if ($this->activeId) {
|
||||||
if (UI_WARNING) {
|
$this->release();
|
||||||
$this->Base->_retMsg('You already have an open playlist. Close it first.');
|
|
||||||
}
|
|
||||||
return FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$userid = $this->Base->gb->playlistIsAvailable($plid, $this->Base->sessid);
|
$userid = $this->Base->gb->playlistIsAvailable($plid, $this->Base->sessid);
|
||||||
if ($userid !== TRUE) {
|
if ($userid !== TRUE) {
|
||||||
if (UI_WARNING) {
|
if (UI_WARNING) {
|
||||||
|
|
Loading…
Reference in New Issue