summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-02-17 16:23:30 +0100
committerAleksander Machniak <alec@alec.pl>2013-02-17 16:26:29 +0100
commit60dabb35aed6689dd6b50cb885b3dbbf5504ef1f (patch)
tree8911faf8a0429da5cbaa4da86999b2109c7ee96a /program/js
parenta7e1b9310924c04b2e41359b9aaef42f2a99820c (diff)
- Fix regression in handling LDAP contact identifiers (#1488959)
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 13f1378f4..ab8eb2369 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -4290,7 +4290,7 @@ function rcube_webmail()
this.group_member_change('add', cid, dest, to.id);
else {
var lock = this.display_message(this.get_label('copyingcontact'), 'loading'),
- post_data = {_cid: cid, _source: source, _to: dest, _togid: to.id, _gid: group};
+ post_data = {_cid: cid, _source: this.env.source, _to: dest, _togid: to.id, _gid: group};
this.http_post('copy', post_data, lock);
}
@@ -4298,7 +4298,7 @@ function rcube_webmail()
// target is an addressbook
else if (to.id != source) {
var lock = this.display_message(this.get_label('copyingcontact'), 'loading'),
- post_data = {_cid: cid, _source: source, _to: to.id, _gid: group};
+ post_data = {_cid: cid, _source: this.env.source, _to: to.id, _gid: group};
this.http_post('copy', post_data, lock);
}