mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 18:31:37 +02:00
Get adding distribution list working with et2. JS still needs to be changed to new object style though
This commit is contained in:
parent
867873824e
commit
dedfd6f53e
@ -171,3 +171,20 @@ function show_custom_country(selectbox)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function add_new_list(owner)
|
||||||
|
{
|
||||||
|
if(typeof owner == 'undefined')
|
||||||
|
{
|
||||||
|
owner = egw.user('account_id');
|
||||||
|
}
|
||||||
|
var name = window.prompt(egw.lang('Name for the distribution list'));
|
||||||
|
if (name)
|
||||||
|
{
|
||||||
|
egw.open_link(egw.link('/index.php',{
|
||||||
|
'menuaction': 'addressbook.addressbook_ui.index',
|
||||||
|
'add_list': name,
|
||||||
|
'owner': owner
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user