mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 04:41:41 +02:00
fixed CRM view in case page-generation-time is displayed
This commit is contained in:
parent
56169beb2e
commit
ca497be17d
@ -94,17 +94,17 @@ app.classes.addressbook = AppJS.extend(
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set link filter for the already open & rendered infolog list
|
* Set link filter for the already open & rendered infolog list
|
||||||
*
|
*
|
||||||
* @param {string} contact_id New contact ID
|
* @param {string} contact_id New contact ID
|
||||||
*/
|
*/
|
||||||
view_set_infolog: function(contact_id)
|
view_set_infolog: function(contact_id)
|
||||||
{
|
{
|
||||||
// Find the infolog list
|
// Find the infolog list
|
||||||
var infolog = etemplate2.getById(
|
var infolog = etemplate2.getById(
|
||||||
$j(this.et2.getInstanceManager().DOMContainer).next('.et2_container').attr('id')
|
$j(this.et2.getInstanceManager().DOMContainer).nextAll('.et2_container').attr('id')
|
||||||
);
|
);
|
||||||
var nm = null;
|
var nm = infolog ? infolog.widgetContainer.getWidgetById('nm') : null;
|
||||||
if(infolog != null && (nm = infolog.widgetContainer.getWidgetById('nm')))
|
if(nm)
|
||||||
{
|
{
|
||||||
// Update the link filter to new contact
|
// Update the link filter to new contact
|
||||||
nm.applyFilters({col_filter: {linked: 'addressbook:'+contact_id}});
|
nm.applyFilters({col_filter: {linked: 'addressbook:'+contact_id}});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user