mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where Debugger and ERD tool panel give a blank white panel, missing from the last patch.
refs #6398
This commit is contained in:
committed by
Akshay Joshi
parent
462b86df8d
commit
5581f0909a
@@ -10,7 +10,7 @@
|
||||
import Alertify from 'pgadmin.alertifyjs';
|
||||
import {getTreeNodeHierarchyFromIdentifier} from 'sources/tree/pgadmin_tree_node';
|
||||
import {getPanelTitle} from 'tools/datagrid/static/js/datagrid_panel_title';
|
||||
import {getRandomInt} from 'sources/utils';
|
||||
import {getRandomInt, registerDetachEvent} from 'sources/utils';
|
||||
|
||||
|
||||
export function setPanelTitle(erdToolPanel, panelTitle) {
|
||||
@@ -165,7 +165,8 @@ export function initialize(gettext, url_for, $, _, pgAdmin, csrfToken, pgBrowser
|
||||
method: 'DELETE',
|
||||
});
|
||||
});
|
||||
|
||||
// Register detach event.
|
||||
registerDetachEvent(erdToolPanel);
|
||||
var openErdToolURL = function(j) {
|
||||
// add spinner element
|
||||
let $spinner_el =
|
||||
|
||||
Reference in New Issue
Block a user