MCPcopy Create free account
hub / github.com/google/pprof / showDialog

Function showDialog

internal/driver/html/common.js:293–303  ·  view source on GitHub ↗
(dialog)

Source from the content-addressed store, hash-verified

291 let currentDeleteTarget = null;
292
293 function showDialog(dialog) {
294 if (currentDialog != null) {
295 overlay.style.display = 'none';
296 currentDialog.style.display = 'none';
297 }
298 currentDialog = dialog;
299 if (dialog != null) {
300 overlay.style.display = 'block';
301 dialog.style.display = 'block';
302 }
303 }
304
305 function cancelDialog(e) {
306 showDialog(null);

Callers 5

cancelDialogFunction · 0.85
showSaveDialogFunction · 0.85
commitSaveFunction · 0.85
deleteConfigFunction · 0.85
commitDeleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…