Fixed console warning shown while updating database node from browser tree. #5332

This commit is contained in:
Nikhil Mohite
2022-10-06 16:15:38 +05:30
committed by GitHub
parent 7e51a2f517
commit 9002961e5d
2 changed files with 3 additions and 4 deletions

View File

@@ -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;