mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed save button enable issue when focusing in and out of numeric input field. Fixes #5137
This commit is contained in:
parent
bd15d2d0f7
commit
64cdd509b0
@ -28,6 +28,7 @@ Bug fixes
|
|||||||
| `Issue #3814 <https://redmine.postgresql.org/issues/3814>`_ - Fixed issue of error message not getting displayed when filename is empty for backup, restore, and import/export.
|
| `Issue #3814 <https://redmine.postgresql.org/issues/3814>`_ - Fixed issue of error message not getting displayed when filename is empty for backup, restore, and import/export.
|
||||||
| `Issue #3851 <https://redmine.postgresql.org/issues/3851>`_ - Add proper indentation to the code while generating functions, procedures, and trigger functions.
|
| `Issue #3851 <https://redmine.postgresql.org/issues/3851>`_ - Add proper indentation to the code while generating functions, procedures, and trigger functions.
|
||||||
| `Issue #4235 <https://redmine.postgresql.org/issues/4235>`_ - Fixed tab indent issue on a selection of lines is deleting the content when 'use spaces == true' in the preferences.
|
| `Issue #4235 <https://redmine.postgresql.org/issues/4235>`_ - Fixed tab indent issue on a selection of lines is deleting the content when 'use spaces == true' in the preferences.
|
||||||
|
| `Issue #5137 <https://redmine.postgresql.org/issues/5137>`_ - Fixed save button enable issue when focusing in and out of numeric input field.
|
||||||
| `Issue #5287 <https://redmine.postgresql.org/issues/5287>`_ - Fixed dark theme-related CSS and modify the color codes.
|
| `Issue #5287 <https://redmine.postgresql.org/issues/5287>`_ - Fixed dark theme-related CSS and modify the color codes.
|
||||||
| `Issue #5414 <https://redmine.postgresql.org/issues/5414>`_ - Use QStandardPaths::AppLocalDataLocation in the runtime to determine where to store runtime logs.
|
| `Issue #5414 <https://redmine.postgresql.org/issues/5414>`_ - Use QStandardPaths::AppLocalDataLocation in the runtime to determine where to store runtime logs.
|
||||||
| `Issue #5463 <https://redmine.postgresql.org/issues/5463>`_ - Fixed an issue where CSV download quotes numeric columns.
|
| `Issue #5463 <https://redmine.postgresql.org/issues/5463>`_ - Fixed an issue where CSV download quotes numeric columns.
|
||||||
|
@ -367,8 +367,12 @@ define([
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
attrs[k] = v;
|
attrs[k] = v;
|
||||||
|
const attrsDefined = self.origSessAttrs[k] && v;
|
||||||
/* If the orig value was null and new one is empty string, then its a "no change" */
|
/* If the orig value was null and new one is empty string, then its a "no change" */
|
||||||
if (_.isEqual(self.origSessAttrs[k], v) || (self.origSessAttrs[k] === null && v === '')) {
|
/* If the orig value and new value are of different datatype but of same value(numeric) "no change" */
|
||||||
|
if (_.isEqual(self.origSessAttrs[k], v)
|
||||||
|
|| (self.origSessAttrs[k] === null && v === '')
|
||||||
|
|| (attrsDefined ? _.isEqual(self.origSessAttrs[k].toString(), v.toString()) : false)) {
|
||||||
delete self.sessAttrs[k];
|
delete self.sessAttrs[k];
|
||||||
} else {
|
} else {
|
||||||
self.sessAttrs[k] = v;
|
self.sessAttrs[k] = v;
|
||||||
|
Loading…
Reference in New Issue
Block a user