From d9a673fb39f16988d1b7ee3a204c735c1059437a Mon Sep 17 00:00:00 2001 From: alec Date: Tue, 9 Mar 2010 12:15:35 +0000 Subject: - messages list performance: build subject link on client side git-svn-id: https://svn.roundcube.net/trunk@3343 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'roundcubemail/program/js') diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 754954afd..abad6ec6a 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -3900,7 +3900,15 @@ function rcube_webmail() col.className = 'icon'; col.innerHTML = icon ? '' : ''; row.appendChild(col); - + + // build subject link + if (!bw.ie && cols.subject) { + var action = cols.mbox == this.env.drafts_mailbox ? 'compose' : 'show'; + var uid_param = cols.mbox == this.env.drafts_mailbox ? '_draft_uid' : '_uid'; + cols.subject = ''+cols.subject+''; + } + // add each submitted col for (var n = 0; n < this.coltypes.length; n++) { var c = this.coltypes[n]; -- cgit v1.2.3