Flask-AppBuilder
Flask-AppBuilder copied to clipboard
Problem in selecting all items in a related view without effecting another related view
Possible solution in ab_actions.js
`$('.action_check_all').click(function() {
var activeTabs = $('div.tab-pane.active');
if (activeTabs.length > 0)
{
$('.action_check', $(activeTabs[0])).prop('checked', chkAllFlag).trigger("change");
chkAllFlag = !chkAllFlag;
}
else
{
$('.action_check').prop('checked', chkAllFlag).triggger("change");
chkAllFlag = !chkAllFlag;
}
});`
https://github.com/dpgaspar/Flask-AppBuilder/issues/759 seems same issue not has been solved.