From 9002961e5d74dc81e043295ecdb522f45f3f743b Mon Sep 17 00:00:00 2001 From: Nikhil Mohite Date: Thu, 6 Oct 2022 16:15:38 +0530 Subject: [PATCH] Fixed console warning shown while updating database node from browser tree. #5332 --- docs/en_US/release_notes_6_15.rst | 1 + web/pgadmin/browser/static/js/browser.js | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/en_US/release_notes_6_15.rst b/docs/en_US/release_notes_6_15.rst index 9ba6b2288..971a38e40 100644 --- a/docs/en_US/release_notes_6_15.rst +++ b/docs/en_US/release_notes_6_15.rst @@ -42,6 +42,7 @@ Bug fixes | `Issue #5262 `_ - Ensure that the user management dialog should not allow the same email addresses with different letter casings when creating users. | `Issue #5308 `_ - Ensure that the default value for a column should be used if it is made empty. | `Issue #5327 `_ - Fixed an issue where user was unable to select privileges in Safari. + | `Issue #5332 `_ - Fixed console warning shown while updating database node from browser tree. | `Issue #5338 `_ - Fixed an issue where the prompt is not visible when clicking on the 'save results to file' button on the large data. | `Issue #5352 `_ - Fixed error occurring while LDAP authentication for a user with multiple email attributes. | `Issue #5367 `_ - Ensure that the correct value should be returned if an exception occurs while decoding the password. diff --git a/web/pgadmin/browser/static/js/browser.js b/web/pgadmin/browser/static/js/browser.js index bf6c1f400..17650bd2f 100644 --- a/web/pgadmin/browser/static/js/browser.js +++ b/web/pgadmin/browser/static/js/browser.js @@ -1372,10 +1372,8 @@ define('pgadmin.browser', [ this.t.openPath(this.i); this.t.deselect(this.i); - // select tree item after few milliseconds - setTimeout(function() { - self.t.select(self.i); - }, 10); + // select tree item + self.t.select(self.i); } } let success = this.o && this.o.success;