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
|
@ -24,8 +24,29 @@ function collector_submit(formname, action, script, name, width, height)
|
|||
return;
|
||||
{literal}
|
||||
}
|
||||
if (name) popup (script + '?act=' + action + href, popup, width, height);
|
||||
else hpopup(script + '?act=' + action + href);
|
||||
if (name){
|
||||
popup (script + '?act=' + action + href, popup, width, height);
|
||||
}
|
||||
else {
|
||||
//alert(action);
|
||||
//hpopup(script + '?act=' + action + href);
|
||||
|
||||
$.post(script + '?act=' + action + href,
|
||||
|
||||
{},
|
||||
|
||||
function(data){
|
||||
|
||||
if(data.error){
|
||||
alert(data.error);
|
||||
}
|
||||
|
||||
location.reload();
|
||||
},
|
||||
|
||||
"json"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
function collector_switchAll(formname)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue