|
|
@ -829,25 +829,22 @@ function rcube_webmail()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// use contact_id passed as command parameter
|
|
|
|
// use contact_id passed as command parameter
|
|
|
|
var a_cids = [];
|
|
|
|
var n, len, a_cids = [];
|
|
|
|
if (props)
|
|
|
|
if (props)
|
|
|
|
a_cids.push(props);
|
|
|
|
a_cids.push(props);
|
|
|
|
// get selected contacts
|
|
|
|
// get selected contacts
|
|
|
|
else if (this.contact_list) {
|
|
|
|
else if (this.contact_list) {
|
|
|
|
var selection = this.contact_list.get_selection();
|
|
|
|
var selection = this.contact_list.get_selection();
|
|
|
|
for (var n=0; n<selection.length; n++)
|
|
|
|
for (n=0, len=selection.length; n<len; n++)
|
|
|
|
a_cids.push(selection[n]);
|
|
|
|
a_cids.push(selection[n]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (a_cids.length)
|
|
|
|
if (a_cids.length)
|
|
|
|
this.http_request('mailto', '_cid='+urlencode(a_cids.join(','))+'&_source='+urlencode(this.env.source), true);
|
|
|
|
this.http_post('mailto', {_cid: a_cids.join(','), _source: this.env.source}, true);
|
|
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// don't know if this is necessary...
|
|
|
|
|
|
|
|
url = url.replace(/&_framed=1/, '');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.redirect(url);
|
|
|
|
this.redirect(url);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|