mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
WIP multitabs: Use specific id for each crm view
This commit is contained in:
parent
cdbc5e3a71
commit
028ff4edcb
@ -38,7 +38,7 @@ class addressbook_hooks
|
|||||||
{
|
{
|
||||||
display_sidebox($appname, lang('Contact data'), array(
|
display_sidebox($appname, lang('Contact data'), array(
|
||||||
array(
|
array(
|
||||||
'text' => '<div id="addressbook_view_sidebox"/>',
|
'text' => '<div id="addressbook_'.$_GET['contact_id'].'_view_sidebox"/>',
|
||||||
'no_lang' => true,
|
'no_lang' => true,
|
||||||
'link' => false,
|
'link' => false,
|
||||||
'icon' => false,
|
'icon' => false,
|
||||||
|
@ -2960,7 +2960,7 @@ class addressbook_ui extends addressbook_bo
|
|||||||
|
|
||||||
// Load CRM code
|
// Load CRM code
|
||||||
Framework::includeJS('.','CRM','addressbook');
|
Framework::includeJS('.','CRM','addressbook');
|
||||||
|
$content['view_sidebox'] = 'addressbook_'.$contact_id.'_view_sidebox';
|
||||||
$this->tmpl->exec('addressbook.addressbook_ui.view',$content,$sel_options,$readonlys,array(
|
$this->tmpl->exec('addressbook.addressbook_ui.view',$content,$sel_options,$readonlys,array(
|
||||||
'id' => $content['id'],
|
'id' => $content['id'],
|
||||||
'index' => $content['index'],
|
'index' => $content['index'],
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<!-- $Id$ -->
|
<!-- $Id$ -->
|
||||||
<overlay>
|
<overlay>
|
||||||
<template id="addressbook.view" template="" lang="" group="0" version="1.9.001">
|
<template id="addressbook.view" template="" lang="" group="0" version="1.9.001">
|
||||||
<grid class="addressbook_view" parent_node="addressbook_view_sidebox" width="100%">
|
<grid class="addressbook_view" parent_node="@view_sidebox" width="100%">
|
||||||
<columns>
|
<columns>
|
||||||
<column width="70"/>
|
<column width="70"/>
|
||||||
<column/>
|
<column/>
|
||||||
|
Loading…
Reference in New Issue
Block a user