From d5c822b63945d9c2d9b7a5fd35270509935d8ce0 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 2 Oct 2008 17:57:25 +0000 Subject: - don't reload messages list if user clicks on (already) selected folder git-svn-id: https://svn.roundcube.net/trunk@1920 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index b7a3ed51c..ce2b4f966 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -533,7 +533,8 @@ function rcube_webmail() if (this.env.search_request<0 || (props != '' && (this.env.search_request && props != this.env.mailbox))) this.reset_qsearch(); - this.list_mailbox(props); + if (props != this.env.mailbox) + this.list_mailbox(props); if (this.env.trash_mailbox) this.set_alttext('delete', this.env.mailbox != this.env.trash_mailbox ? 'movemessagetotrash' : 'deletemessage'); -- cgit v1.2.3