HtmlTable.Sort re-enable sort not setting spans again #1346

Open
boppy opened this Issue Feb 3, 2017 · 0 comments

Projects

None yet

1 participant

@boppy
Contributor
boppy commented Feb 3, 2017 edited

If you disable HtmlTable's sort and enable it again, the removed spans are not added again. So the GUI is likely to be broken after re-enable.

See https://jsfiddle.net/zachcdbn/

Will try to provide a fix this weekend.

@boppy boppy changed the title from HtmlTable.Sort re-enable sort not working to HtmlTable.Sort re-enable sort not setting spans again Feb 3, 2017
@boppy boppy pushed a commit to boppy/mootools-more that referenced this issue Feb 5, 2017
Henning Bopp Fixes bug described in mootools/mootools-more#1346
Sources out the creation of the sort-span tag in order to re-inject them
on re-enable sorting.
390175b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment