putting back popups in playlist so context menu will still work.
This commit is contained in:
parent
321c698c40
commit
4acc4cf715
|
@ -30,6 +30,7 @@ function collector_submit(formname, action, script, name, width, height)
|
|||
else {
|
||||
//alert(action);
|
||||
|
||||
/*
|
||||
if(action === 'PL.removeItem') {
|
||||
|
||||
$.post(script + '?act=' + action + href,
|
||||
|
@ -51,6 +52,9 @@ function collector_submit(formname, action, script, name, width, height)
|
|||
else {
|
||||
hpopup(script + '?act=' + action + href);
|
||||
}
|
||||
*/
|
||||
|
||||
hpopup(script + '?act=' + action + href);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -319,8 +319,9 @@ switch ($_REQUEST['act']) {
|
|||
$uiHandler->SCRATCHPAD->addItem($_REQUEST['id']);
|
||||
}
|
||||
}
|
||||
die('{"jsonrpc" : "2.0"}');
|
||||
|
||||
$uiHandler->PLAYLIST->setReload();
|
||||
break;
|
||||
|
||||
case "PL.setClipLength":
|
||||
$uiHandler->PLAYLIST->setClipLength($_REQUEST['pos'], $_REQUEST['cueIn'], $_REQUEST['cueOut']);
|
||||
break;
|
||||
|
@ -331,10 +332,9 @@ switch ($_REQUEST['act']) {
|
|||
|
||||
case "PL.removeItem":
|
||||
$uiHandler->PLAYLIST->removeItem($_REQUEST['id']);
|
||||
//$uiHandler->PLAYLIST->setReload();
|
||||
//break;
|
||||
die('{"jsonrpc" : "2.0"}');
|
||||
|
||||
$uiHandler->PLAYLIST->setReload();
|
||||
break;
|
||||
|
||||
case "PL.release":
|
||||
$uiHandler->PLAYLIST->release();
|
||||
$uiHandler->PLAYLIST->setReload();
|
||||
|
|
Loading…
Reference in New Issue