mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 15:38:27 +01:00
Make sure to copy registry settings, not use reference
Fixes mail compose always filling address
This commit is contained in:
parent
d32e576dfa
commit
e276a14be1
@ -198,7 +198,8 @@ egw.extend('open', egw.MODULE_WND_LOCAL, function(_egw, _wnd) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
url = '/index.php';
|
url = '/index.php';
|
||||||
params = app_registry[type];
|
// Copy, not get a reference, or we'll change the registry
|
||||||
|
params = jQuery.extend({},app_registry[type]);
|
||||||
if (type == 'view' || type == 'edit') // add id parameter for type view or edit
|
if (type == 'view' || type == 'edit') // add id parameter for type view or edit
|
||||||
{
|
{
|
||||||
params[app_registry[type+'_id']] = id;
|
params[app_registry[type+'_id']] = id;
|
||||||
|
Loading…
Reference in New Issue
Block a user