forked from extern/egroupware
Fix add selection of contacts to new distribution list did not bring up dialog
This commit is contained in:
parent
41eeb0a1a3
commit
56ff41baed
@ -582,14 +582,14 @@ app.classes.addressbook = AppJS.extend(
|
||||
var contacts = [];
|
||||
if(selected && selected[0] && selected[0].getAllSelected())
|
||||
{
|
||||
// All contacts selected, better ask the server for _all_ the IDs
|
||||
fetchAll(selected, this.et2.getWidgetById('nm'), jQuery.proxy(
|
||||
// Action says all contacts selected, better ask the server for _all_ the IDs
|
||||
var fetching = fetchAll(selected, this.et2.getWidgetById('nm'), jQuery.proxy(
|
||||
function(contacts) {
|
||||
this._add_new_list_prompt(owner, contacts);
|
||||
}, this));
|
||||
return;
|
||||
if (fetching) return;
|
||||
}
|
||||
else if(selected && selected.length)
|
||||
if(selected && selected.length)
|
||||
{
|
||||
for(var i = 0; i < selected.length; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user