← back to Rentv
rentv(TK-10061): remove dead data-fakepost handler from /advertise (form uses data-advertise real capture; kills silent-drop regression path)
0f53121461ac2ad443bd6ef1ebbab5461137f40b · 2026-08-10 11:28:19 -0700 · Steve Abrams
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit 0f53121461ac2ad443bd6ef1ebbab5461137f40b
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Mon Aug 10 11:28:19 2026 -0700
rentv(TK-10061): remove dead data-fakepost handler from /advertise (form uses data-advertise real capture; kills silent-drop regression path)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
public/advertise.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/public/advertise.html b/public/advertise.html
index 9756618e..69d5730a 100644
--- a/public/advertise.html
+++ b/public/advertise.html
@@ -141,7 +141,9 @@
}).catch(function(){});})();
var io=new IntersectionObserver(function(es){es.forEach(function(e){if(e.isIntersecting){e.target.classList.add('in');io.unobserve(e.target);}});},{threshold:.1});
document.querySelectorAll('.rv').forEach(function(el){io.observe(el);});
- document.querySelectorAll('form[data-fakepost]').forEach(function(f){f.addEventListener('submit',function(e){e.preventDefault();var ok=f.querySelector('.ok');if(ok){ok.style.display='block';}f.querySelectorAll('input,select,button').forEach(function(x){if(x.type!=='reset')x.setAttribute('disabled','');});});});
+ // NOTE: this page's form uses data-advertise (REAL capture below), NOT the generic data-fakepost
+ // no-op used on other pages. The dead data-fakepost handler was removed so the form can never
+ // silently regress to the drop-every-lead behavior this ticket (TK-10061) fixed.
// Real advertiser-inquiry capture → POST /api/advertise (append-only JSONL; inbound lead capture, no external send-to-list).
document.querySelectorAll('form[data-advertise]').forEach(function(f){f.addEventListener('submit',function(e){e.preventDefault();
var name=(f.querySelector('input[data-name]')||{}).value||'';
← 6bbbcd97 rentv(TK-10061): fix founder name typo in sublease.com outre
·
back to Rentv
·
auto-data-snapshot: 2026-08-10T11:29:10 (7 data files) — dat 9f92f161 →