close playlist in context menu
This commit is contained in:
parent
c4053a1b38
commit
dc36c972ba
|
@ -72,6 +72,13 @@ class LibraryController extends Zend_Controller_Action
|
||||||
'callback' => 'window["openDiffSPL"]'),
|
'callback' => 'window["openDiffSPL"]'),
|
||||||
'title' => 'Edit');
|
'title' => 'Edit');
|
||||||
}
|
}
|
||||||
|
else if(isset($pl_sess->id) && $pl_sess->id === $id) {
|
||||||
|
$menu[] = array('action' =>
|
||||||
|
array('type' => 'ajax',
|
||||||
|
'url' => '/Playlist/close/view/spl'.$params,
|
||||||
|
'callback' => 'window["noOpenPL"]'),
|
||||||
|
'title' => 'Close');
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue