MCPcopy Create free account
hub / github.com/SKVNDR/FastDork / setupConfirmationModal

Function setupConfirmationModal

Script/FastDork.js:1267–1276  ·  view source on GitHub ↗
(
    message,
    onConfirm,
    onCancel = () => hideModal()
  )

Source from the content-addressed store, hash-verified

1265 );
1266 }
1267 function setupConfirmationModal(
1268 message,
1269 onConfirm,
1270 onCancel = () => hideModal()
1271 ) {
1272 showModal(message, [
1273 { text: "YES", class: "confirm", onClick: onConfirm },
1274 { text: "NO", class: "standard", onClick: onCancel },
1275 ]);
1276 }
1277 async function loadSelectedDorkListContent() {
1278 console.log(`[loadSelectedDorkListContent] Called.`);
1279 if (!UI.listTab2 || !UI.payloadInput) {

Callers 3

deleteDorkListFunction · 0.85
handleResetAllDataFunction · 0.85
handleDeleteSiteSelectorFunction · 0.85

Calls 2

hideModalFunction · 0.85
showModalFunction · 0.85

Tested by

no test coverage detected