From b119e24154315cbd21ae2609ea84ad0346598543 Mon Sep 17 00:00:00 2001
From: svncommit <devs@roundcube.net>
Date: Wed, 17 Oct 2007 07:03:26 -0400
Subject: [PATCH] Fix sorting after parent folder renaming.

---
 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 68996ae..c599651 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2699,7 +2699,7 @@
 
     this.sort_subscription_list();
     this.init_subscription_list();
-    if (selection)
+    if (selection && document.getElementById('rcmrow'+selection))
       this.subscription_list.select_row(selection);
 
     if (document.getElementById('rcmrow'+id).scrollIntoView)

--
Gitblit v1.9.1