Page MenuHomePhabricator

bug28406_tablesorter.patch

Authored By
bzimport
Nov 21 2014, 11:31 PM
Size
654 B
Referenced Files
None
Subscribers
None

bug28406_tablesorter.patch

Index: jquery.tablesorter.js
===================================================================
--- jquery.tablesorter.js (Revision 86866)
+++ jquery.tablesorter.js (Arbeitskopie)
@@ -415,7 +415,7 @@
// We allow a trailing percent sign, which we just strip. This works fine
// if percents and regular numbers aren't being mixed.
ts.numberRegex = new RegExp("^(" + "[-+\u2212]?[0-9][0-9,]*(\\.[0-9,]*)?(E[-+\u2212]?[0-9][0-9,]*)?" + // Fortran-style scientific
- "|" + "[-+\u2212]?" + digitClass + "+%?" + // Generic localised
+ "|" + "[-+\u2212]?" + digitClass + "+[\s\xa0]*%?" + // Generic localised
")$", "i");
}

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7245
Default Alt Text
bug28406_tablesorter.patch (654 B)

Event Timeline