From 6eb894a7d3bce3aab67062fda5c76eaca0859ae9 Mon Sep 17 00:00:00 2001 From: cmcnulty Date: Wed, 24 May 2006 19:27:32 +0000 Subject: Fixed major bug with deleting a single message git-svn-id: https://svn.roundcube.net/trunk@244 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index a6b43cb8e..a834582d8 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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) -- cgit v1.2.3