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

Function import_db

public/js/script.js:226–232  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

224}
225
226function import_db() {
227 messageBox(
228 '<p> Do you want to import crontab?<br /> A backup will be created automatically before importing.</p>',
229 'Confirm import from crontab', null, null, function() {
230 $('#import_file').click();
231 });
232}
233
234function setMailConfig(a) {
235 var data = JSON.parse(a.getAttribute('data-json'));

Callers

nothing calls this directly

Calls 2

messageBoxFunction · 0.85
$Function · 0.70

Tested by

no test coverage detected