r91362 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91361‎ | r91362 | r91363 >
Date:18:10, 2 July 2011
Author:kipcool
Status:deferred
Tags:
Comment:
Modified automatic sorting on page load to work with MediaWiki 1.17
Modified paths:
  • /trunk/extensions/Wikidata/OmegaWiki/HTMLtable.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikidata/OmegaWiki/HTMLtable.php
@@ -64,9 +64,9 @@
6565 $onclick = ' onclick= "' . $sort . '"';
6666 if ( $leftmost ) { # Are we the leftmost column?
6767 $leftsort = EOL .
68 - '<script type="text/javascript"> toSort("' .
 68+ '<script type="text/javascript"> jQuery( function() { toSort("' .
6969 $idPath->getId() . '-h" , ' . $skipRows . ',' .
70 - $columnIndex . '); </script>'
 70+ $columnIndex . ') } ); </script>'
7171 . EOL;
7272 $leftmost = False; # There can be only one.
7373 }

Status & tagging log