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

Function previewCrontab

public/js/script.js:324–329  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

322}
323
324function previewCrontab() {
325 $.get(routes.preview_crontab, function(data) {
326 document.getElementById('preview-crontab-content').textContent = data || '# (empty crontab)';
327 getModal('preview-crontab-modal').show();
328 });
329}
330
331function copyCrontab() {
332 var text = document.getElementById('preview-crontab-content').textContent;

Callers

nothing calls this directly

Calls 2

getModalFunction · 0.85
showMethod · 0.45

Tested by

no test coverage detected