set new link on side playlist.
This commit is contained in:
parent
4e7b3ce86b
commit
498a8c6823
|
@ -1,6 +1,14 @@
|
|||
<form name="SPL">
|
||||
<div>
|
||||
<span id="spl_new">New</span>
|
||||
<span id="spl_new">
|
||||
<a href="<?php echo $this->url(
|
||||
array(
|
||||
'controller' => 'Playlist',
|
||||
'action' => 'new'
|
||||
),
|
||||
'default',
|
||||
true) ?>">New</a>
|
||||
</span>
|
||||
<span id="spl_delete">Delete</span>
|
||||
<div>
|
||||
<div id="spl_name"><?php if (isset($this->pl)) { echo $this->pl->getName(); } ?></div>
|
||||
|
|
|
@ -9,6 +9,8 @@ function setSPLContent(json) {
|
|||
return;
|
||||
}
|
||||
|
||||
$('input[name="all"]').attr("checked", false);
|
||||
|
||||
$('#spl_name').empty()
|
||||
.append(json.name);
|
||||
$('#spl_length').empty()
|
||||
|
|
Loading…
Reference in New Issue