mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1. Disable ERD for system Catalogs. #5849
2. Disable Debugger for system catalogs. #6060 3. Fixed an issue where the keyboard shortcut for launching the debugger from Object Explorer was not working.
This commit is contained in:
@@ -279,9 +279,9 @@ _.extend(pgBrowser.keyboardNavigation, {
|
||||
if (!tree.d || (type !== 'function' && type !== 'procedure'))
|
||||
return;
|
||||
|
||||
if (pgAdmin.Tools.Debugger.can_debug(tree.d, tree.i, {'debug_type': 'direct'})) {
|
||||
if (pgAdmin.Tools.Debugger.canDebug(tree.d, tree.i, {'debug_type': 'direct'})) {
|
||||
// Call debugger callback
|
||||
pgAdmin.Tools.Debugger.get_function_information(pgAdmin.Browser.Nodes[type]);
|
||||
pgAdmin.Tools.Debugger.getFunctionInformation(pgAdmin.Browser.Nodes[type]);
|
||||
}
|
||||
},
|
||||
isPropertyPanelVisible: function() {
|
||||
|
||||
Reference in New Issue
Block a user