mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
resolve rowid (app::id to id) for construction of vfs url to address addressbook entry
This commit is contained in:
parent
c0eece6234
commit
8212c7419b
@ -503,7 +503,10 @@ app.classes.addressbook = AppJS.extend(
|
||||
var link = egw().link("/index.php","menuaction="+app_registry['add']['menuaction']);
|
||||
for (var i = 0; i < _elems.length; i++)
|
||||
{
|
||||
link += "&preset[file][]="+encodeURIComponent("vfs://default/apps/addressbook/"+_elems[i].id+"/.entry");
|
||||
var idToUse = _elems[i].id;
|
||||
var idToUseArray = idToUse.split('::');
|
||||
idToUse = idToUseArray[1];
|
||||
link += "&preset[file][]="+encodeURIComponent("vfs://default/apps/addressbook/"+idToUse+"/.entry");
|
||||
}
|
||||
if (typeof app_registry['view'] != 'undefined' && typeof app_registry['view_popup'] != 'undefined' )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user