summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
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 3e49fc3b2..9a9865db4 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1006,9 +1006,9 @@ function rcube_webmail()
case 'export':
if (this.contact_list.rowcount > 0) {
- var add_url = '';
+ var add_url = (this.env.source ? '_source='+urlencode(this.env.source)+'&' : '');
if (this.env.search_request)
- add_url = '_search='+this.env.search_request;
+ add_url += '_search='+this.env.search_request;
this.goto_url('export', add_url);
}