summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index a6b43cb8e..a834582d8 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1715,7 +1715,7 @@ function rcube_webmail()
return false;
if (a_uids.length==1){
- if(this.message_rows[uid].classname.indexOf('deleted') < 0 ){
+ if(this.message_rows[a_uids[0]].classname.indexOf('deleted') < 0 ){
this.flag_as_deleted(a_uids)
} else {
this.flag_as_undeleted(a_uids)