mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where strike-through is not visible for rows selected for deletion after scrolling. Fixes #6157
This commit is contained in:
parent
181bec62ce
commit
9e85fb3de3
@ -28,6 +28,7 @@ Bug fixes
|
||||
| `Issue #6045 <https://redmine.postgresql.org/issues/6045>`_ - Fixed autocomplete issue where it is not showing any suggestions if the schema name contains escape characters.
|
||||
| `Issue #6087 <https://redmine.postgresql.org/issues/6087>`_ - Fixed an issue where the dependencies tab showing multiple owners for the objects having shared dependencies.
|
||||
| `Issue #6143 <https://redmine.postgresql.org/issues/6143>`_ - Fixed an issue where shared server entries not getting deleted from SQLite database if the user gets deleted.
|
||||
| `Issue #6157 <https://redmine.postgresql.org/issues/6157>`_ - Fixed an issue where strike-through is not visible for rows selected for deletion after scrolling.
|
||||
| `Issue #6163 <https://redmine.postgresql.org/issues/6163>`_ - Fixed an issue where Zoom to fit button only works if the diagram is larger than the canvas.
|
||||
| `Issue #6164 <https://redmine.postgresql.org/issues/6164>`_ - Ensure that the diagram should not vanish entirely if zooming out too far in ERD.
|
||||
| `Issue #6177 <https://redmine.postgresql.org/issues/6177>`_ - Fixed an issue while downloading ERD images in Safari and Firefox.
|
||||
|
@ -1051,6 +1051,15 @@ define('tools.querytool', [
|
||||
};
|
||||
|
||||
self.handler.slickgrid = grid;
|
||||
// Add listener on data-grid table scroll.
|
||||
self.handler.slickgrid.onScroll.subscribe(function() {
|
||||
if(Object.keys(self.handler.data_store.deleted).length > 0) {
|
||||
setTimeout(() => {
|
||||
$(self.handler.gridView.grid.getCanvasNode()).find('div.selected').removeClass('strikeout');
|
||||
$(self.handler.gridView.grid.getCanvasNode()).find('div.selected').addClass('strikeout');
|
||||
}, 100);
|
||||
}
|
||||
});
|
||||
self.handler.slickgrid.CSVOptions = {
|
||||
quoting: self.preferences.results_grid_quoting,
|
||||
quote_char: self.preferences.results_grid_quote_char,
|
||||
|
Loading…
Reference in New Issue
Block a user