summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-12-03 11:27:42 +0000
committeralecpl <alec@alec.pl>2010-12-03 11:27:42 +0000
commitc0c0c03d97c7d7d7157c34c17f2fcddbb2533d32 (patch)
treed0fd9dd1f1195be26311e7e93e38d1fb94b3b1bc
parentaf3c045ecf4865361981f4c9aa392dfe1f93ac90 (diff)
- Fix: copying all messages in a folder copies only current page
-rw-r--r--program/js/app.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js
index b14c66511..c7e46e69f 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2386,8 +2386,10 @@ function rcube_webmail()
}
}
+ add_url += '&_uid='+this.uids_to_list(a_uids);
+
// send request to server
- this.http_post('copy', '_uid='+a_uids.join(',')+'&_mbox='+urlencode(this.env.mailbox)+add_url, lock);
+ this.http_post('copy', '_mbox='+urlencode(this.env.mailbox)+add_url, lock);
};
// move selected messages to the specified mailbox
@@ -2400,8 +2402,8 @@ function rcube_webmail()
if (!mbox || mbox == this.env.mailbox || (!this.env.uid && (!this.message_list || !this.message_list.get_selection().length)))
return;
- var lock = false;
- var add_url = '&_target_mbox='+urlencode(mbox)+'&_from='+(this.env.action ? this.env.action : '');
+ var lock = false,
+ add_url = '&_target_mbox='+urlencode(mbox)+'&_from='+(this.env.action ? this.env.action : '');
// show wait message
if (this.env.action == 'show') {