set new link on side playlist.
This commit is contained in:
parent
4e7b3ce86b
commit
498a8c6823
2 changed files with 11 additions and 1 deletions
|
@ -1,6 +1,14 @@
|
||||||
<form name="SPL">
|
<form name="SPL">
|
||||||
<div>
|
<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>
|
<span id="spl_delete">Delete</span>
|
||||||
<div>
|
<div>
|
||||||
<div id="spl_name"><?php if (isset($this->pl)) { echo $this->pl->getName(); } ?></div>
|
<div id="spl_name"><?php if (isset($this->pl)) { echo $this->pl->getName(); } ?></div>
|
||||||
|
|
|
@ -9,6 +9,8 @@ function setSPLContent(json) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$('input[name="all"]').attr("checked", false);
|
||||||
|
|
||||||
$('#spl_name').empty()
|
$('#spl_name').empty()
|
||||||
.append(json.name);
|
.append(json.name);
|
||||||
$('#spl_length').empty()
|
$('#spl_length').empty()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue