chg: [decaying] Improved selection performance

pull/5032/head
mokaddem 2019-03-19 14:56:53 +01:00
parent 6e2ab5d6fd
commit 5558b7e44a
1 changed files with 3 additions and 3 deletions

View File

@ -361,7 +361,7 @@ $(document).ready(function() {
});
refreshInfoCells();
$("#attributeTypeTableBody").selectable({
filter: "tr",
filter: "tr:not(.hidden)",
selected: function( event, ui ) {
if (event.ctrlKey) {
$(ui.selected).toggleClass("info");
@ -390,10 +390,10 @@ $(document).ready(function() {
});
$('#table_toggle_all_type').change(function() {
$('#attributeTypeTableBody').find('tr.isNotToIDS').toggle(this.checked);
$('#attributeTypeTableBody').find('tr.isNotToIDS').toggleClass('hidden', !this.checked);
});
$('#table_toggle_objects').change(function() {
$('#attributeTypeTableBody').find('tr.isObject').toggle(this.checked);
$('#attributeTypeTableBody').find('tr.isObject').toggleClass('hidden', !this.checked);
});
});