can add a playlist to scratchpad from search/browse, popups are gone from adding to playlist, removing from playlist.
This commit is contained in:
parent
69f526b572
commit
ea07030cd8
7 changed files with 58 additions and 24 deletions
|
@ -70,8 +70,21 @@ $(document).ready(function() {
|
|||
|
||||
id = tr.find("input").attr('name');
|
||||
|
||||
hpopup('ui_handler.php?act=PL.addItem&id='+id);
|
||||
|
||||
$.post("ui_handler.php",
|
||||
|
||||
{ 'act': 'PL.addItem', 'id': id },
|
||||
|
||||
function(data){
|
||||
|
||||
if(data.error){
|
||||
alert(data.error);
|
||||
}
|
||||
|
||||
location.reload();
|
||||
},
|
||||
|
||||
"json"
|
||||
);
|
||||
}
|
||||
|
||||
//PL main editor.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue