mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +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;
|
||||
}
|
||||
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
|
||||
{
|
||||
params[app_registry[type+'_id']] = id;
|
||||
|
Loading…
Reference in New Issue
Block a user