Widget:indexSorterGrouper: Difference between revisions
Jump to navigation
Jump to search
Setting indicator for active button |
m Fixed initial sort bug |
||
Line 20: | Line 20: | ||
// Once everything is ready, default-sort it | // Once everything is ready, default-sort it | ||
$('[data-initialsort]').click(); | |||
}); | }); | ||
}); | }); | ||
Line 202: | Line 202: | ||
} | } | ||
</script><div style="display:inline-block"> | </script><div style="display:inline-block"> | ||
<button class="gf-button" data-tdollsortbutton="true" onclick="orderByName(this);">By Name</button> | <button class="gf-button" data-tdollsortbutton="true" data-initialsort="true" onclick="orderByName(this);">By Name</button> | ||
<button class="gf-button" data-tdollsortbutton="true" onclick="orderByClassRarityName(this);">By Class>Rarity>Name</button> | <button class="gf-button" data-tdollsortbutton="true" onclick="orderByClassRarityName(this);">By Class>Rarity>Name</button> | ||
<button class="gf-button" data-tdollsortbutton="true" onclick="orderByRarityClassName(this);">By Rarity>Class>Name</button> | <button class="gf-button" data-tdollsortbutton="true" onclick="orderByRarityClassName(this);">By Rarity>Class>Name</button> |
Revision as of 15:47, 1 May 2018
Released on this server: