mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Fix add selection of contacts to new distribution list did not bring up dialog
This commit is contained in:
parent
9f98d0fe56
commit
8113908273
@ -582,14 +582,14 @@ app.classes.addressbook = AppJS.extend(
|
|||||||
var contacts = [];
|
var contacts = [];
|
||||||
if(selected && selected[0] && selected[0].getAllSelected())
|
if(selected && selected[0] && selected[0].getAllSelected())
|
||||||
{
|
{
|
||||||
// All contacts selected, better ask the server for _all_ the IDs
|
// Action says all contacts selected, better ask the server for _all_ the IDs
|
||||||
fetchAll(selected, this.et2.getWidgetById('nm'), jQuery.proxy(
|
var fetching = fetchAll(selected, this.et2.getWidgetById('nm'), jQuery.proxy(
|
||||||
function(contacts) {
|
function(contacts) {
|
||||||
this._add_new_list_prompt(owner, contacts);
|
this._add_new_list_prompt(owner, contacts);
|
||||||
}, this));
|
}, this));
|
||||||
return;
|
if (fetching) return;
|
||||||
}
|
}
|
||||||
else if(selected && selected.length)
|
if(selected && selected.length)
|
||||||
{
|
{
|
||||||
for(var i = 0; i < selected.length; i++)
|
for(var i = 0; i < selected.length; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user