Fixed an issue where the user is not able to save the new row if the table is empty. Fixes #4810
parent
4cf8c2f300
commit
043025d1eb
|
@ -18,4 +18,5 @@ Housekeeping
|
||||||
Bug fixes
|
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.
|
| `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
|
// Listener function which will be called when user updates existing rows
|
||||||
grid.onCellChange.subscribe(function(e, args) {
|
grid.onCellChange.subscribe(function(e, args) {
|
||||||
// self.handler.data_store.updated will holds all the updated data
|
// self.handler.data_store.updated will holds all the updated data
|
||||||
|
|
Loading…
Reference in New Issue