Fixed an issue where reset layout message showing when the user opens the query tool.

refs #6988
This commit is contained in:
Nikhil Mohite authored and Akshay Joshi committed 2021-11-15 16:34:25 +05:30
1 parent 33cc2a7514
commit 1408bad8ba
2 files changed
+11 -18

No files matched your search

+1 -1
View File
@@ -430,7 +430,7 @@ define('pgadmin.browser', [
// Stored layout in database from the previous session
var layout = pgBrowser.utils.layout;
obj.restore_layout(obj.docker, layout, obj.buildDefaultLayout.bind(obj));
obj.restore_layout(obj.docker, layout, obj.buildDefaultLayout.bind(obj), true);
obj.docker.on(wcDocker.EVENT.LAYOUT_CHANGED, function() {
obj.save_current_layout('Browser/Layout', obj.docker);