MCPcopy
hub / github.com/alseambusher/crontab-ui / getModal

Function getModal

public/js/script.js:5–7  ·  view source on GitHub ↗

MessageBox

(id)

Source from the content-addressed store, hash-verified

3/*********** MessageBox ****************/
4
5function getModal(id) {
6 return bootstrap.Modal.getOrCreateInstance(document.getElementById(id));
7}
8
9function infoMessageBox(message, title) {
10 document.getElementById('info-body').innerHTML = message;

Callers 5

infoMessageBoxFunction · 0.85
messageBoxFunction · 0.85
editJobFunction · 0.85
newJobFunction · 0.85
previewCrontabFunction · 0.85

Calls 1

getOrCreateInstanceMethod · 0.80

Tested by

no test coverage detected