You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@apache.org on 2005/08/29 03:02:41 UTC
svn commit: r263980 - /httpd/mod_mbox/branches/httpd-mbox-if/data/archives.js
Author: maxime
Date: Sun Aug 28 18:02:38 2005
New Revision: 263980
URL: http://svn.apache.org/viewcvs?rev=263980&view=rev
Log:
Do not reload message list when clicking on the current month in the boxlist (thanks to Michael Rodriguez-Torrent for pointing out this issue).
Modified:
httpd/mod_mbox/branches/httpd-mbox-if/data/archives.js
Modified: httpd/mod_mbox/branches/httpd-mbox-if/data/archives.js
URL: http://svn.apache.org/viewcvs/httpd/mod_mbox/branches/httpd-mbox-if/data/archives.js?rev=263980&r1=263979&r2=263980&view=diff
==============================================================================
--- httpd/mod_mbox/branches/httpd-mbox-if/data/archives.js (original)
+++ httpd/mod_mbox/branches/httpd-mbox-if/data/archives.js Sun Aug 28 18:02:38 2005
@@ -589,7 +589,14 @@
}
/* Build link (_baseURI/id/browser) */
- str += '<td class="box"><a href="' + _baseURI + id + '/browser">';
+ str += '<td class="box">';
+
+ if (id == _mbox) {
+ str += '<a href="browser" onclick="javascript:drawFullMsgList(); return false;">';
+ }
+ else {
+ str += '<a href="' + _baseURI + id + '/browser">';
+ }
/* Display month name (short text) and year. The decimal
base (10) is passed to parseInt in order to avoid octal