js/events: fix a small bug introduced right now
Links on non-multiselect action tables stopped working. refs #6705
This commit is contained in:
parent
736113c80c
commit
686152abf3
|
@ -400,7 +400,7 @@
|
|||
rowSelected: function(event) {
|
||||
var self = event.data.self;
|
||||
var icinga = self.icinga;
|
||||
var $tr = $(this).closest('tr');
|
||||
var $tr = $(this);
|
||||
var $table = $tr.closest('table.multiselect');
|
||||
var data = self.icinga.ui.getSelectionKeys($table);
|
||||
var url = $table.data('icinga-multiselect-url');
|
||||
|
@ -501,11 +501,6 @@
|
|||
return false;
|
||||
}
|
||||
|
||||
// ignore multiselect table row clicks
|
||||
if ($a.closest('tr[href]').length > 0 && $a.closest('table.action').length > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
// ignore multiselect table row clicks
|
||||
if ($a.is('tr') && $a.closest('table.multiselect').length > 0) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue