can add a playlist to scratchpad from search/browse, popups are gone from adding to playlist, removing from playlist.

This commit is contained in:
naomiaro 2010-10-14 20:39:45 -04:00
parent 69f526b572
commit ea07030cd8
7 changed files with 58 additions and 24 deletions

View file

@ -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.