[Web] Use panel instead of tab-pane to find panel-heading, fixes #3022

This commit is contained in:
andryyy
2019-10-11 08:51:40 +02:00
parent 6213d6ee02
commit 71994b1bcd
3 changed files with 5 additions and 5 deletions

View File

@@ -208,7 +208,7 @@ jQuery(function($){
.tooltip();
}
$('.refresh_table').prop("disabled", false);
heading = ft.$el.parents('.tab-pane').find('.panel-heading')
heading = ft.$el.parents('.panel').find('.panel-heading')
var ft_paging = ft.use(FooTable.Paging)
$(heading).children('.table-lines').text(function(){
return ft_paging.totalRows;