mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +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(
|
||||
array(
|
||||
'text' => '<div id="addressbook_view_sidebox"/>',
|
||||
'text' => '<div id="addressbook_'.$_GET['contact_id'].'_view_sidebox"/>',
|
||||
'no_lang' => true,
|
||||
'link' => false,
|
||||
'icon' => false,
|
||||
|
@ -2960,7 +2960,7 @@ class addressbook_ui extends addressbook_bo
|
||||
|
||||
// Load CRM code
|
||||
Framework::includeJS('.','CRM','addressbook');
|
||||
|
||||
$content['view_sidebox'] = 'addressbook_'.$contact_id.'_view_sidebox';
|
||||
$this->tmpl->exec('addressbook.addressbook_ui.view',$content,$sel_options,$readonlys,array(
|
||||
'id' => $content['id'],
|
||||
'index' => $content['index'],
|
||||
|
@ -3,7 +3,7 @@
|
||||
<!-- $Id$ -->
|
||||
<overlay>
|
||||
<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>
|
||||
<column width="70"/>
|
||||
<column/>
|
||||
|
Loading…
Reference in New Issue
Block a user