hi guys,

can someone guide me on how does SugarCRM delete an entry in the subpanel?

let's say in the Contacts Module, it has Tasks subpanel..how can i delete the entry in the Tasks subpanel.

i know how to create subpanels and i know this piece of code to display a Remove button in a row:

PHP Code:
'remove_button'=>array(              
       
'widget_class' => 'SubPanelRemoveButton',               
      
'width' => '2%',          
), 
but when i press the Remove Button/icon i have this error:
HTML Code:
Fatal error: Call to a member function on a non-object in /home/main/public_html/big/sugar/sugarcrm/include/generic/DeleteRelationship.php on line 72

anyone? your help will be greatly appreciated.


thanks!