1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-03 12:50:04 +02:00

make table sortable

This commit is contained in:
s2
2018-05-19 18:34:47 +02:00
parent 9cfd76cb10
commit 6e5e119588
5 changed files with 505 additions and 1 deletions

View File

@@ -9,6 +9,9 @@
//events
ipcRenderer.on('fileList', (event, files) => {
$('.js-container').html(gitlit.templates.main({files: files}));
sorttable.makeSortable($('.js-filestable')[0]);
var myTH = document.getElementsByTagName("th")[0];
sorttable.innerSortFunction.apply(myTH, []);
});
ipcRenderer.on('isNoGitLfsRepo', (event, repoDir) => {