mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
Fix query that finds the nearest container of a table row and stores it.
This commit is contained in:
parent
c641988233
commit
661dbea740
@ -382,7 +382,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// update selection
|
// update selection
|
||||||
if (event.ctrlKey && multisel) {
|
if ((event.ctrlKey || event.metaKey) && multisel) {
|
||||||
icinga.ui.toogleTableRowSelection($tr);
|
icinga.ui.toogleTableRowSelection($tr);
|
||||||
// multi selection
|
// multi selection
|
||||||
} else if (event.shiftKey && multisel) {
|
} else if (event.shiftKey && multisel) {
|
||||||
|
@ -477,7 +477,7 @@
|
|||||||
*/
|
*/
|
||||||
focusTable: function (table) {
|
focusTable: function (table) {
|
||||||
$('table').filter(function(){ return this !== table; }).find('tr[href]').removeClass('active');
|
$('table').filter(function(){ return this !== table; }).find('tr[href]').removeClass('active');
|
||||||
var n = $(table).closest('.container').data('icinga-url');
|
var n = $(table).closest('div.container').attr('data-icinga-url');
|
||||||
focusedTableDataUrl = n;
|
focusedTableDataUrl = n;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user