Get adding distribution list working with et2. JS still needs to be changed to new object style though

This commit is contained in:
Nathan Gray 2013-05-06 23:16:10 +00:00
parent 867873824e
commit dedfd6f53e

View File

@ -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
}));
}
}