[Svn] r3004 - in trunk/roundcubemail: . program/js

trac at roundcube.net trac at roundcube.net
Thu Oct 1 09:39:03 CEST 2009


Author: alec
Date: 2009-10-01 02:39:02 -0500 (Thu, 01 Oct 2009)
New Revision: 3004

Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/program/js/app.js
Log:
- Fix return to first page from e-mail screen (#1486105)


Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2009-10-01 06:50:48 UTC (rev 3003)
+++ trunk/roundcubemail/CHANGELOG	2009-10-01 07:39:02 UTC (rev 3004)
@@ -1,6 +1,7 @@
 CHANGELOG RoundCube Webmail
 ===========================
 
+- Fix return to first page from e-mail screen (#1486105)
 - Fix handling HTML comments in HTML messages (#1486189)
 - Fix folder/messagelist controls alignment - icons used (#1486072)
 - Fix LDAP addressbook shows 'Contact not found' error sometimes (#1486178)

Modified: trunk/roundcubemail/program/js/app.js
===================================================================
--- trunk/roundcubemail/program/js/app.js	2009-10-01 06:50:48 UTC (rev 3003)
+++ trunk/roundcubemail/program/js/app.js	2009-10-01 07:39:02 UTC (rev 3004)
@@ -1629,15 +1629,15 @@
     // also send search request to get the right messages
     if (this.env.search_request)
       add_url += '&_search='+this.env.search_request;
-      
+
     // set page=1 if changeing to another mailbox
-    if (!page)
+    if (!page && this.env.mailbox != mbox)
       {
       page = 1;
       this.env.current_page = page;
       this.show_contentframe(false);
       }
-    
+
     if (mbox != this.env.mailbox || (mbox == this.env.mailbox && !page && !sort))
       add_url += '&_refresh=1';
 

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



More information about the Svn mailing list