Index: branches/RC/core/units/categories/categories_event_handler.php =================================================================== diff -u -r9043 -r9279 --- branches/RC/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 9043) +++ branches/RC/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 9279) @@ -101,6 +101,25 @@ } /** + * Adds selected link to listing + * + * @param kEvent $event + */ + function OnProcessSelected(&$event) + { + $object =& $event->getObject(); + /* @var $object kDBItem */ + + $selected_ids = $this->Application->GetVar('selected_ids'); + + $this->RemoveRequiredFields($object); + $object->SetDBField($this->Application->RecallVar('dst_field'), $selected_ids['c']); + $object->Update(); + + $this->finalizePopup($event); + } + + /** * Apply system filter to categories list * * @param kEvent $event