mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure the debugger container has focus when loaded. Fixes #3295
This commit is contained in:
parent
0ffd3d0451
commit
ba23ba9b8b
@ -1850,6 +1850,8 @@ define([
|
|||||||
self.docker.off(wcDocker.EVENT.LOADED);
|
self.docker.off(wcDocker.EVENT.LOADED);
|
||||||
// Register the callback when user set/clear the breakpoint on gutter area.
|
// Register the callback when user set/clear the breakpoint on gutter area.
|
||||||
self.editor.on('gutterClick', self.onBreakPoint.bind(self), self);
|
self.editor.on('gutterClick', self.onBreakPoint.bind(self), self);
|
||||||
|
// Set focus to the debugger container
|
||||||
|
self.$container.focus();
|
||||||
};
|
};
|
||||||
|
|
||||||
self.docker.startLoading(gettext('Loading...'));
|
self.docker.startLoading(gettext('Loading...'));
|
||||||
|
Loading…
Reference in New Issue
Block a user