Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
2.8.2
-
None
-
IE 6.0 (build MSIE6020), Windows XP SP3
Description
Visit http://www.jspwiki.org/PageInfo.jsp?page=Main with IE 6.0 and you will find an error when the page tries to sort column "author". The bug causes the page loading to be stopped and thus it looks ugly.
The problem is due to scripts/jspwiki-common.js. Search in the file for "return E-C" and replace it with "return E<C?-1:1" which will solve this problem.
Cause: IE 6.0 recognizes E-C (string (object?) minus) as NaN here, causing the comparison to fail.