MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / setVendorStopButtonState

Function setVendorStopButtonState

static/js/payment.js:1303–1308  ·  view source on GitHub ↗
(disabled = false, show = true)

Source from the content-addressed store, hash-verified

1301}
1302
1303function setVendorStopButtonState(disabled = false, show = true) {
1304 const btn = document.getElementById("vendor-stop-btn");
1305 if (!btn) return;
1306 btn.style.display = show ? "" : "none";
1307 btn.disabled = Boolean(disabled);
1308}
1309
1310function setVendorRetryButtonState(disabled = false, show = true) {
1311 const btn = document.getElementById("vendor-retry-btn");

Callers 4

updateVendorProgressUiFunction · 0.85
pollVendorProgressFunction · 0.85
startVendorAutoBindFunction · 0.85
stopVendorAutoTaskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected