[Svn] r1920 - trunk/roundcubemail/program/js

trac at roundcube.net trac at roundcube.net
Thu Oct 2 19:57:25 CEST 2008


Author: alec
Date: 2008-10-02 12:57:25 -0500 (Thu, 02 Oct 2008)
New Revision: 1920

Modified:
   trunk/roundcubemail/program/js/app.js
Log:
- don't reload messages list if user clicks on (already) selected folder


Modified: trunk/roundcubemail/program/js/app.js
===================================================================
--- trunk/roundcubemail/program/js/app.js	2008-10-02 17:50:25 UTC (rev 1919)
+++ trunk/roundcubemail/program/js/app.js	2008-10-02 17:57:25 UTC (rev 1920)
@@ -533,7 +533,8 @@
           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');

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list