https://bugzilla.wikimedia.org/show_bug.cgi?id=38152

       Web browser: ---
             Bug #: 38152
           Summary: jquery.tablesorter should use .data() instead of
                    .attr() for retrieving the (custom) sort-value
           Product: MediaWiki
           Version: 1.17
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JavaScript
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


The data-sort-value attribute is used to pre-populate the data storage, but
later modifications are only stored in the properties, not in the attributes.

Calling .data() will do the same as .attr(), except that .data() will be up to
date if the value has changed.

Discovered when implementing bug 24950.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to