Preload styles for 'jquery.tablesorter'
authorFomafix <fomafix@googlemail.com>
Sat, 29 Dec 2018 19:56:49 +0000 (20:56 +0100)
committerFomafix <fomafix@googlemail.com>
Sun, 20 Jan 2019 16:48:08 +0000 (17:48 +0100)
commit535df46f3f5a35e426d3415e76824d70e84fb3a7
tree5a583ed93ef21a927b8df5d5318bdfc9ef810e0f
parentc81e1506c642c00e1cd248c6b9b39bb099c367c2
Preload styles for 'jquery.tablesorter'

This change avoids a flash of missing sorting buttons while loading.
This only works if the <thead> element is already created in HTML
instead of in JavaScript.
Several special pages with sortable tables already create a <thead>.
Explict add the module 'jquery.tablesorter' and the new style module
'jquery.tablesorter.styles' on these special pages.

Change-Id: I0b446d18f47428d8c0c4aed78b75de16fe106218
18 files changed:
includes/specials/SpecialMediaStatistics.php
includes/specials/SpecialTags.php
includes/specials/SpecialTrackingCategories.php
resources/Resources.php
resources/src/jquery.tablesorter.styles/images/sort_both.png [new file with mode: 0644]
resources/src/jquery.tablesorter.styles/images/sort_both.svg [new file with mode: 0644]
resources/src/jquery.tablesorter.styles/images/sort_down.png [new file with mode: 0644]
resources/src/jquery.tablesorter.styles/images/sort_down.svg [new file with mode: 0644]
resources/src/jquery.tablesorter.styles/images/sort_up.png [new file with mode: 0644]
resources/src/jquery.tablesorter.styles/images/sort_up.svg [new file with mode: 0644]
resources/src/jquery.tablesorter.styles/jquery.tablesorter.styles.less [new file with mode: 0644]
resources/src/jquery.tablesorter/images/sort_both.png [deleted file]
resources/src/jquery.tablesorter/images/sort_both.svg [deleted file]
resources/src/jquery.tablesorter/images/sort_down.png [deleted file]
resources/src/jquery.tablesorter/images/sort_down.svg [deleted file]
resources/src/jquery.tablesorter/images/sort_up.png [deleted file]
resources/src/jquery.tablesorter/images/sort_up.svg [deleted file]
resources/src/jquery.tablesorter/jquery.tablesorter.less [deleted file]