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

trac at roundcube.net trac at roundcube.net
Mon Aug 30 20:00:39 CEST 2010


Author: alec
Date: 2010-08-30 13:00:39 -0500 (Mon, 30 Aug 2010)
New Revision: 3927

Modified:
   trunk/roundcubemail/program/js/app.js
Log:
- Small improvement


Modified: trunk/roundcubemail/program/js/app.js
===================================================================
--- trunk/roundcubemail/program/js/app.js	2010-08-30 16:28:26 UTC (rev 3926)
+++ trunk/roundcubemail/program/js/app.js	2010-08-30 18:00:39 UTC (rev 3927)
@@ -1782,11 +1782,11 @@
   {
     if (page == 'next')
       page = this.env.current_page+1;
-    if (page == 'last')
+    else if (page == 'last')
       page = this.env.pagecount;
-    if (page == 'prev' && this.env.current_page > 1)
+    else if (page == 'prev' && this.env.current_page > 1)
       page = this.env.current_page-1;
-    if (page == 'first' && this.env.current_page > 1)
+    else if (page == 'first' && this.env.current_page > 1)
       page = 1;
 
     if (page > 0 && page <= this.env.pagecount) {

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



More information about the Svn mailing list