From 717169353e7da3aad7948c7ef1e66542b2bfa8d0 Mon Sep 17 00:00:00 2001
From: svncommit <devs@roundcube.net>
Date: Wed, 24 May 2006 15:27:32 -0400
Subject: [PATCH] Fixed major bug with deleting a single message

---
 program/js/app.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index a6b43cb..a834582 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1715,7 +1715,7 @@
       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)

--
Gitblit v1.9.1