From 224192705a864521de5d86607b4992c8e7c9e8ad Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 18 Jun 2010 18:30:35 +0000 Subject: - unset env.messages on mailbox change to save some browser's memory git-svn-id: https://svn.roundcube.net/trunk@3765 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'roundcubemail/program') diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 8cf81f8ec..402e1f994 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -1302,7 +1302,7 @@ function rcube_webmail() this.env.folder_coords[k].on = 0; } } - + if (layerclass != oldclass && this.contact_list && this.contact_list.draglayer) this.contact_list.draglayer.attr('class', layerclass); } @@ -1495,13 +1495,13 @@ function rcube_webmail() if (this.env.messages[row.uid]) this.env.messages[row.uid].expanded = row.expanded; }; - + this.msglist_set_coltypes = function(list) { var i, found, name, cols = list.list.tHead.rows[0].cells; - + this.env.coltypes = []; - + for (i=0; i