Page MenuHomePhabricator

wikibits.js - Sorting fails if bottom row hasn't enough columns
Closed, ResolvedPublic

Description

Fix for wikibits.js (ts_toLowerCase)

If you go to the above URL and try to sort the table by second column, you will get an error "s is undefined: wikibits.js?184, Line 718". This is because ts_toLowerCase(s) doesn't check for empty values (like e.g. ts_parseFloat does).

Simple fix attached.


Version: 1.14.x
Severity: minor
URL: http://de.wikipedia.org/wiki/Benutzer:P.Copp/temp/Tablesorttest

Attached:

Details

Reference
bz16439

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:27 PM
bzimport set Reference to bz16439.
bzimport added a subscriber: Unknown Object (MLST).

*** This bug has been marked as a duplicate of bug 20708 ***