http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90666
Revision: 90666
Author: hartman
Date: 2011-06-23 17:12:36 +0000 (Thu, 23 Jun 2011)
Log Message:
-----------
Fix global var leaking that was making collationsort fail on Safari 5
Followup to r86088.
Modified Paths:
--------------
trunk/phase3/resources/jquery/jquery.tablesorter.js
Modified: trunk/phase3/resources/jquery/jquery.tablesorter.js
===================================================================
--- trunk/phase3/resources/jquery/jquery.tablesorter.js 2011-06-23 17:00:20 UTC
(rev 90665)
+++ trunk/phase3/resources/jquery/jquery.tablesorter.js 2011-06-23 17:12:36 UTC
(rev 90666)
@@ -817,6 +817,7 @@
//Pad Month and Day
if ( s[0] && s[0].length == 1 ) s[0] = "0" + s[0];
if ( s[1] && s[1].length == 1 ) s[1] = "0" + s[1];
+ var y;
if ( !s[2] ) {
//Fix yearless dates
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs