bring back the collection edit sidebar widget on the connection edit page until I sort out Comanche on that page.
This commit is contained in:
parent
a7a775a718
commit
50731fa6a6
@ -39,10 +39,10 @@ function connections_aside(&$a) {
|
|||||||
|
|
||||||
if(x($a->data,'abook')) {
|
if(x($a->data,'abook')) {
|
||||||
$a->set_widget('vcard',vcard_from_xchan($a->data['abook'],$a->get_observer()));
|
$a->set_widget('vcard',vcard_from_xchan($a->data['abook'],$a->get_observer()));
|
||||||
|
$a->set_widget('collections', group_side('connections','group',false,0,$a->data['abook']['abook_xchan']));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$a->set_widget('follow', widget_follow(array()));
|
$a->set_widget('follow', widget_follow(array()));
|
||||||
$a->set_widget('collections', group_side('connections','group',false,0,((array_key_exists('abook',$a->data)) ? $a->data['abook']['abook_xchan'] : '')));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user