mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
fixed distribution lists allways created in personal addressbook, not selected one
This commit is contained in:
parent
3bc322690e
commit
7a0df1531d
@ -2377,18 +2377,6 @@ window.egw_LAB.wait(function() {
|
||||
return false;
|
||||
}
|
||||
|
||||
function add_new_list(owner)
|
||||
{
|
||||
var name = window.prompt("'.lang('Name for the distribution list').'");
|
||||
if (name)
|
||||
{
|
||||
document.location.href = "'.egw::link('/index.php',array(
|
||||
'menuaction'=>$_GET['menuaction'],//'addressbook.addressbook_ui.index',
|
||||
'add_list'=>'',
|
||||
)).'"+encodeURIComponent(name)+"&owner="+owner;
|
||||
}
|
||||
}
|
||||
|
||||
function do_action(selbox)
|
||||
{
|
||||
if (selbox.value != "") {
|
||||
|
@ -193,14 +193,14 @@ function show_custom_country(selectbox)
|
||||
}
|
||||
}
|
||||
|
||||
function add_new_list()
|
||||
function add_new_list(owner)
|
||||
{
|
||||
var name = window.prompt(egw.lang('Name for the distribution list'));
|
||||
if (name)
|
||||
{
|
||||
egw.open('','addressbook', 'list', {
|
||||
'add_list': name,
|
||||
'owner': egw.user('account_id')
|
||||
'owner': owner
|
||||
},'_self');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user