mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-24 13:47:39 -05:00
Ensure that ajax request for Dashboard, Statistics, Dependencies, and Dependents
should not be raised until the panel will be in focus. refs #5091
This commit is contained in:
1 parent
5372467569
commit
617440e1db
1 file changed
+2
-2
@@ -200,9 +200,9 @@ define(
|
||||
|
||||
if (eventName == 'panelClosed') {
|
||||
/* Pass the closed flag also */
|
||||
module.toggleVisibility.call(module, [false, true]);
|
||||
module.toggleVisibility.call(module, false, true);
|
||||
} else if (eventName == 'panelVisibilityChanged') {
|
||||
module.toggleVisibility.call(module, [pgBrowser.docker.findPanels(this._type)[0].isVisible()]);
|
||||
module.toggleVisibility.call(module, pgBrowser.docker.findPanels(this._type)[0].isVisible(), false);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user