Add context menu sub-actions for CRM-View Infolog & Tracker

This commit is contained in:
Nathan Gray
2014-03-25 16:53:36 +00:00
parent 42272cf2e2
commit e62c980a8f
4 changed files with 40 additions and 5 deletions

View File

@ -88,8 +88,17 @@ app.classes.addressbook = AppJS.extend(
{
var index = _senders[0]._index;
var id = _senders[0].id.split('::').pop();
var extras = {
index: index
};
this.egw.open(id, 'addressbook', 'view', {index: index}, '_self', 'addressbook');
// CRM list
if(_action.id != 'view')
{
extras.crm_list = _action.id.replace('view-','');
}
this.egw.open(id, 'addressbook', 'view', extras, '_self', 'addressbook');
},
/**