From b919475630c03060077caa7349a60b042a42d71e Mon Sep 17 00:00:00 2001 From: cat Date: Mon, 14 Jan 2013 13:59:05 +0100 Subject: [PATCH] LSP - unsortable columns were sorting anyway -> disabled click event --- lsp/main.js | 2 +- lsp/tablesort.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lsp/main.js b/lsp/main.js index 5b1a0cd0..b70d6ff2 100644 --- a/lsp/main.js +++ b/lsp/main.js @@ -655,7 +655,7 @@ refreshStreams(); $table = $(''); - $table.html(""); + $table.html(""); $tbody = $(''); var stream, cstr, $tr; diff --git a/lsp/tablesort.js b/lsp/tablesort.js index 16551ff0..0138d593 100644 --- a/lsp/tablesort.js +++ b/lsp/tablesort.js @@ -89,7 +89,7 @@ // ==================================================== // // Do sorting when THs are clicked - table.delegate("th", "click", function(){ + table.delegate("th:not(.dontsort)", "click", function(){ if($(this).text().replace(/ /g, '') == '') {
IdTypeEmbedNameStatusViewersEdit
IdTypeEmbedNameStatusViewersEdit