mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-24 09:40:21 -06:00
Fixed an issue where the user is not able to save the new row if the table is empty. Fixes #4810
This commit is contained in:
parent
4cf8c2f300
commit
043025d1eb
@ -18,4 +18,5 @@ Housekeeping
|
||||
Bug fixes
|
||||
*********
|
||||
|
||||
| `Issue #4810 <https://redmine.postgresql.org/issues/4810>`_ - Fixed an issue where the user is not able to save the new row if the table is empty.
|
||||
| `Issue #5646 <https://redmine.postgresql.org/issues/5646>`_ - Ensure that RLS Policy node should be searchable using search object.
|
@ -1086,6 +1086,14 @@ define('tools.querytool', [
|
||||
}
|
||||
});
|
||||
|
||||
// Handles blur event for slick grid cell
|
||||
$('.slick-viewport').on('blur', 'input.editor-text', function () {
|
||||
window.setTimeout(function() {
|
||||
if (Slick.GlobalEditorLock.isActive())
|
||||
Slick.GlobalEditorLock.commitCurrentEdit();
|
||||
});
|
||||
});
|
||||
|
||||
// Listener function which will be called when user updates existing rows
|
||||
grid.onCellChange.subscribe(function(e, args) {
|
||||
// self.handler.data_store.updated will holds all the updated data
|
||||
|
Loading…
Reference in New Issue
Block a user