MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / alert

Method alert

web/pgadmin/static/js/helpers/Notifier.jsx:165–169  ·  view source on GitHub ↗
(title, text, onOkClick, okLabel=gettext('OK'))

Source from the content-addressed store, hash-verified

163 }
164
165 alert(title, text, onOkClick, okLabel=gettext('OK')) {
166 /* Use this if you want to use pgAdmin global notifier.
167 Or else, if you want to use modal inside iframe only then use ModalProvider eg- query tool */
168 this.modal.alert(title, text, onOkClick, okLabel);
169 }
170
171 // Plain-text modal alert. Use whenever `text` may contain untrusted
172 // content (driver / API error messages, server-supplied strings, etc.).

Callers 15

baseFieldsMethod · 0.80
mview.jsFile · 0.80
browser.jsFile · 0.80
withCheckPermissionFunction · 0.80
raiseErrorMethod · 0.80
getDebuggerArgsSchemaFunction · 0.80
raiseJSONErrorFunction · 0.80
raisePollingErrorFunction · 0.80
raiseClearBrekpointErrorFunction · 0.80
messagesFunction · 0.80
startExecutionFunction · 0.80

Calls 1

gettextFunction · 0.85

Tested by

no test coverage detected