Fixed an issue where the user can not paste the updated table header in safari 12 and 13 browsers. Fixes #4815

This commit is contained in:
Nikhil Mohite
2021-08-30 14:46:42 +05:30
committed by Akshay Joshi
parent b764046587
commit 22f20a38ec
4 changed files with 4 additions and 4 deletions

View File

@@ -515,10 +515,10 @@ define('pgadmin.dashboard', [
if(that.data.length > 50) {
// Listen scroll event to load more rows
$('.pg-panel-content').on('scroll', that.__loadMoreRows.bind(that));
$('.wcScrollableY').on('scroll', that.__loadMoreRows.bind(that));
} else {
// Listen scroll event to load more rows
$('.pg-panel-content').off('scroll', that.__loadMoreRows);
$('.wcScrollableY').off('scroll', that.__loadMoreRows);
}
// Re-apply search criteria