mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-10 19:43:01 +00:00
allow adding unsorted columns to admin via template blocks
This commit is contained in:
@@ -42,6 +42,9 @@ require(["jquery", "bootstrap", "moment", "jhapi", "utils"], function ($, bs, mo
|
||||
$("th").map(function (i, th) {
|
||||
th = $(th);
|
||||
var col = th.data('sort');
|
||||
if (!col || col.length == 0) {
|
||||
return;
|
||||
}
|
||||
var order = th.find('i').hasClass('fa-sort-desc') ? 'asc':'desc';
|
||||
th.find('a').click(
|
||||
function () {
|
||||
|
Reference in New Issue
Block a user