tinge
Sep 29, 2026

My Flight to London Was Canceled—So I Came Home at 1:47 A.M. and Caught My Mother and Sister Attacking My Pregnant Wife

My Flight to London Was Canceled—So I Came Home at 1:47 A.M. and Caught My Mother and Sister Attacking My Pregnant Wife

Posted September 23, 2026

Irene’s eyes filled with tears.

“He already knows why I married him.”

“No,” Margaret said. “He knows the version you sold him.”

That was enough.

I stepped backward from the doorway and called 911.

“My name is Austin Wentworth. Two intruders are attacking my pregnant wife inside my home. They’re attempting to break into our safe. One has a hammer. Send police and an ambulance immediately.”

Inside the bedroom, everything went silent.

Carla stopped moving.

Margaret slowly turned toward the door.

I pushed it open.

Irene saw me first.

Her expression changed so quickly it almost destroyed me.

Terror disappeared.

Relief took its place.

“Austin…”

Then her eyes rolled backward.

She collapsed.

I crossed the room before she hit the floor.

“Irene.”

I caught her shoulders and pulled her against me.

Her breathing was shallow.

Blood touched my shirt.

“Irene, stay with me.”

Margaret immediately released her hair and transformed.

That was the only word for it.

One second she was furious.

The next she was crying.

“Austin, thank God. You don’t understand. Irene was stealing from you. Carla and I came in here because we were trying to stop her.”

I stared at my mother.

Then at the hammer.

The broken safe.

The suitcase full of my property.

“You were trying to stop her?”

“Yes.”

“By holding her on the floor?”

“She attacked me first.”

Carla said nothing.

I looked at her.

She still had the hammer in her hand.

“Drop it.”

“Austin—”

“Drop it.”

The hammer hit the carpet.

Margaret stepped closer.

“Son, listen to me.”

“The police are coming.”

Her face changed.

“Austin.”

“They’re already coming.”

“I’m your mother.”

I pulled Irene closer.

“Not tonight.”

Margaret stared at me as if I had struck her.

“What does that mean?”

“It means the police aren’t coming to remove my mother and my sister from a family argument.”

Sirens became audible in the distance.

“They’re coming for two people who broke into my home, assaulted my pregnant wife, and tried to steal from me.”

Carla suddenly reached toward the suitcase.

“Don’t touch it.”

She stopped.

Red and blue light began flashing against the bedroom windows.

Margaret’s tears disappeared.

Just like that.

“You have no idea what Irene has been hiding from you.”

I looked down at my unconscious wife.

“What are you talking about?”

Margaret smiled.

It was small.

Cold.

Almost victorious.

“Ask her who owns this house.”

My skin prickled.

“What?”

“Ask her why your father changed his will three days before he died.”

My father.

Thomas Wentworth.

Dead six years.

Officially, from complications following a heart attack.

I had spent hours beside him in the hospital.

I had watched the monitor go still.

No one had ever mentioned a new will.

Before I could speak again, police entered the house.

“Phoenix Police! Hands where we can see them!”

Two officers rushed into the bedroom.

Then paramedics.

Everything happened quickly after that.

Margaret and Carla were separated.

The hammer was collected.

The suitcase was photographed.

The damaged safe was documented.

A paramedic checked Irene’s pulse, then called for a stretcher.

“She’s pregnant,” I said.

“We know. Let us work.”

I stayed beside her until they lifted her.

As they transferred Irene onto the stretcher, something slipped from the torn pocket of her nightgown.

A small silver key.

It landed near my shoe.

Margaret saw it.

And lunged.

“Give me that!”

An officer grabbed her arm.

She screamed.

“That belongs to my family!”

I picked up the key.

The metal was stamped with the name of a private storage company downtown.

Underneath was a number.

  1.  

I looked at Irene.

Her eyes opened.

Only slightly.

She saw the key in my hand.

And started crying.

“Austin…”

I leaned closer.

“What is this?”

“Don’t let them open that box.”

“Who?”

“Your mother.”

My stomach turned.

“What’s inside?”

Her eyes moved past me toward Margaret.

Then back to me.

“Proof.”

“Proof of what?”

Irene’s voice became almost inaudible.

“That your father didn’t die the way she told you.”

For several seconds, I couldn’t process the sentence.

“What?”

The paramedic adjusted Irene’s oxygen mask.

“Sir, we need to move.”

I followed the stretcher toward the door.

“Irene. What happened to my father?”

But her eyes had already closed.

Behind me, Margaret started yelling.

“She’s manipulating you! She has been manipulating you since the day she met you!”

I turned.

My mother’s wrists were being secured behind her back.

I looked at Irene’s swollen face.

Then at Margaret.

“You were holding her by the hair when I came in.”

“You don’t understand.”

“I understand more than I did five minutes ago.”

I pulled out my phone.

Margaret stopped speaking.

I pressed play.

Her own voice filled the bedroom.

Give me the safe code.

Then Carla’s.

Once we get the trust documents, we can replace the final page.

Carla’s face drained of color.

Margaret went completely still.

The officer beside her looked at me.

“Sir, preserve that recording. Don’t alter or edit anything.”

“I won’t.”

I stopped the playback before the part where Irene mentioned the forged signature.

Not because I planned to protect Margaret.

Because I wanted Carla to believe I knew less than I did.

I held up the silver key.

“What’s in box 317?”

Margaret said nothing.

Carla looked at her.

One glance.

Less than a second.

But it was enough.

“You both know.”

“No,” Margaret said.

Carla laughed nervously.

“Stop lying, Mom.”

Margaret turned sharply.

“Carla.”

“You said Irene would never find Dad’s original papers.”

The room became silent.

My father’s original papers.

I stepped closer.

“What papers?”

Carla looked at me.

And for the first time that night, she looked frightened of our mother.

“The ones he signed the night before he went to the hospital.”


I rode with Irene to the hospital.

The doctors treated the swelling around her eye, the cut on her lip, bruising across her ribs, and injuries to her scalp.

Then came the longest wait of my life.

A fetal ultrasound.

I stood beside the bed holding Irene’s hand while the technician moved the probe.

Neither of us spoke.

Then a tiny heartbeat filled the room.

Fast.

Steady.

Alive.

I closed my eyes.

Irene started crying.

Our baby was still there.

Still fighting.

The doctor recommended monitoring Irene overnight.

When we were alone, I placed the silver key on the table beside her.

She stared at it.

“How long have you known?”

“Not everything.”

“Start at the beginning.”

Irene took a slow breath.

“About two months ago, one of your father’s old bank statements arrived here by mistake.”

“That happens sometimes.”

“I know. But the statement listed a trust account I had never seen before.”

I sat down.

“What trust?”

“A family trust your father created seven years before he died.”

I shook my head.

“My father never mentioned it.”

“He did in the original documents.”

“What original documents?”

“The ones Margaret tried to destroy.”

A cold sensation moved through my chest.

Irene continued.

“Your father structured the trust so control passed to you after his death. But there was another condition. If you had a biological child, a large portion of the assets would automatically move into a separate protected trust for that child.”

I thought of Carla’s words.

Austin will never know Irene’s baby inherited everything.

“How much?”

Irene looked at me.

“I don’t know exactly. But based on the property records I found, possibly more than forty million dollars.”

I stared at her.

Forty million.

I had grown up comfortable.

Very comfortable.

My father owned commercial property and investments.

But forty million dollars in a hidden trust?

“No.”

“I thought the same.”

“What does my mother have to do with it?”

Irene swallowed.

“She has been taking money from it.”

“How?”

“After your father died, documents were filed naming Margaret temporary trustee.”

“That makes no sense.”

“I know.”

“I was thirty-two. Why would I need a temporary trustee?”

“You didn’t.”

The answer landed hard.

Irene looked toward the door.

“I found copies of paperwork authorizing transfers after your father’s death. Some had your signature.”

“I never signed anything.”

“I know.”

“You’re saying they forged me.”

“At least once. Maybe more.”

I thought back to that bedroom.

You forged his signature once already.

“How did you find the storage box?”

“Your father’s former attorney.”

“Who?”

“Daniel Mercer.”

I knew the name.

He had handled some of my father’s real estate matters years ago before retiring.

“He contacted you?”

“No. I contacted him.”

“Why didn’t you tell me?”

“Because when I first asked about the trust, he refused to discuss it. Then three weeks ago, he called me from a number I didn’t recognize.”

She reached for my hand.

“He said someone had searched his office after I contacted him.”

My jaw tightened.

“He told me your father had been afraid before he died.”

“Afraid of what?”

“Margaret.”

I stood.

“No.”

I said it too quickly.

Too automatically.

Not because I believed my mother anymore.

Because some part of me still wanted one piece of my childhood to remain intact.

Irene watched me carefully.

“Daniel said your father discovered money missing from several investment accounts. He planned to confront Margaret.”

“When?”

“The night before he went to the hospital.”

My pulse began pounding.

“And those papers?”

“Daniel said your father signed a new will, a trustee removal order, and a sworn statement documenting unauthorized transfers.”

“Why weren’t they filed?”

“Because your father went to the hospital the next morning.”

“And died three days later.”

“Yes.”

I looked at the key.

“How did the papers get into storage?”

“Daniel kept duplicate originals. He said he didn’t trust what was happening around your father at the hospital. Years later, after his retirement, he moved sensitive files into private storage.”

“And gave you the key?”

“He gave me access after I showed him the forged transfer documents.”

“Why not give them directly to me?”

“He was afraid.”

“Of my mother?”

“He said someone had already threatened him once.”

I sat again.

“And tonight?”

“I was going to tell you everything when you came back from London.”

“How did Margaret know?”

Irene looked down.

“I think Carla found an email.”

My phone vibrated.

Detective Ruiz.

The lead officer from the house.

I answered.

“Mr. Wentworth, we need you at the station tomorrow morning. There’s something else.”

“What?”

“Your sister has requested an attorney.”

“And my mother?”

“She has too.”

“That’s not surprising.”

“No.”

He paused.

“What’s unusual is that your sister asked whether cooperating against your mother could affect the charges.”

I looked at Irene.

“Carla wants a deal?”

“That’s what it sounds like.”


By 10:30 the next morning, I was sitting in an interview room across from Detective Ruiz.

He placed several evidence photographs in front of me.

The suitcase.

The safe.

The hammer.

Then another photograph.

A tiny black device.

“What’s that?”

“We found it under the desk in your study.”

I leaned closer.

“A listening device?”

“Looks like it.”

“Who put it there?”

“We don’t know yet.”

My stomach twisted.

Ruiz continued.

“Your sister has started talking.”

“What did she say?”

“She claims your mother organized everything.”

“That doesn’t make Carla innocent.”

“I didn’t say it did.”

He slid a page across the table.

“She claims the financial activity goes back several years.”

“How many?”

“At least six.”

Six years.

Since my father died.

Ruiz folded his hands.

“She also says your mother convinced her that the trust belonged to them because your father had planned to leave Margaret with very little.”

“Why?”

“She didn’t explain.”

I thought about the silver key.

“I think I know where the answer is.”


Detective Ruiz did not let me open box 317 alone.

By early afternoon, a warrant had been arranged and two detectives accompanied me and an attorney representing my interests to the storage facility downtown.

The manager led us into a secure room.

I inserted the silver key.

Box 317 slid out.

It was heavier than I expected.

Inside were three sealed envelopes.

A leather file.

A flash drive.

A handwritten letter.

And an old digital voice recorder.

My name was written across the letter.

Austin.

My hands shook as I opened it.

The first line nearly stopped my heart.

If you are reading this, then Margaret prevented me from telling you myself.

I had to sit down.

My father’s handwriting filled four pages.

He wrote that he had discovered unauthorized withdrawals totaling more than three million dollars from family investment accounts.

He believed Margaret had been hiding gambling losses and funneling additional money to Carla’s businesses.

He had confronted her.

She denied it.

Then he discovered documents bearing his signature that he had never signed.

The letter continued.

I have amended my will and removed Margaret from all authority over the Wentworth Family Trust. Austin is to become sole trustee immediately upon my death. If Austin has a child, seventy percent of the remaining trust assets are to be protected for that child and future descendants.

My vision blurred.

I kept reading.

There was one final paragraph.

If anything happens to me before I meet with Daniel tomorrow, do not assume my medical collapse was natural.

I looked up.

No one spoke.

Detective Ruiz pointed toward the recorder.

“May we?”

I nodded.

He pressed play.

My father’s voice filled the small room.

Older than I remembered.

Tired.

“This is Thomas Wentworth. The date is October seventeenth.”

The day before he collapsed.

He described the missing funds.

The forged signatures.

His plan to remove Margaret.

Then his voice changed.

“I have also recently discovered that Margaret has been altering medication placed in my weekly pill organizer.”

My hands went cold.

The recording continued.

“I cannot yet prove what substance she used. But on two occasions I became severely dizzy after taking pills she prepared. When I stopped using that organizer and opened a new prescription bottle myself, the symptoms disappeared.”

I stopped breathing.

Ruiz immediately paused the recorder.

“Mr. Wentworth?”

I stared at the machine.

“Keep playing.”

My father spoke again.

“If I am hospitalized before these documents are filed, contact Daniel Mercer. Do not allow Margaret to control access to me.”

I remembered the hospital.

My mother had controlled everything.

Who visited.

When.

Which doctor spoke to whom.

I had thought she was protecting my father.

The recorder ended.

No dramatic confession.

No statement that Margaret had poisoned him.

Only fear.

Evidence.

A warning.

Enough to reopen questions I had buried six years earlier.

Then Detective Ruiz opened the leather folder.

Inside was the original will.

My father’s signature.

Two witnesses.

Notarized.

And exactly as Irene had said, the trust passed to me.

The child provision was real.

So was the trustee removal order.

Then we found another document.

A ledger.

Transfers.

Dates.

Amounts.

Some went to accounts controlled by Margaret.

Others went to companies connected to Carla.

More than four million dollars across multiple years.

At the very bottom of the box was a copy of an email printed six years earlier.

From my mother to Carla.

The message contained only two sentences.

Your father signs tomorrow.

If he doesn’t make it to that meeting, nothing changes.

I read it three times.

Then handed it to Ruiz.

He said nothing.

He didn’t need to.


Carla broke before sunset.

Once detectives showed her copies of the documents from box 317, she changed her story again.

She admitted helping Margaret forge financial documents.

She admitted taking money.

She admitted searching Daniel Mercer’s office months earlier.

She admitted hiding old trust records.

But when detectives asked about my father’s death, she began crying.

And according to Ruiz, she repeated the same sentence over and over.

“I didn’t know she was going to go that far.”

Margaret denied everything.

The money.

The forged signatures.

The assault.

The storage box.

The medication.

Even the email.

She claimed Irene had created the entire conspiracy to steal my father’s estate.

But investigators obtained records from my father’s old pharmacy.

Then medical records from the hospital.

Then security footage archived from the assisted medical office he had visited two days before his collapse.

The footage showed Margaret collecting his prescriptions.

Not proof of murder.

Not by itself.

But enough to widen the investigation.

And then Daniel Mercer came forward.

He had kept one thing outside box 317.

A copy of a voicemail.

My father had left it for him at 11:42 p.m. the night before he collapsed.

Daniel played it for police.

Thomas sounded weak.

Agitated.

He told Daniel he had confronted Margaret about the pills.

Then came the sentence that changed the case.

“If I don’t make the meeting tomorrow, Austin needs to know she knows I found out.”

The investigation into my father’s death was formally reopened.


Irene stayed in the hospital for two nights.

Our baby remained stable.

The bruises eventually faded.

The nightmares took longer.

On the third evening, I sat beside her while rain tapped against the hospital window.

“There’s one thing I still don’t understand,” I said.

She looked at me.

“What?”

“What Carla said.”

“About what?”

“She said I should ask why you married me.”

Irene looked away.

For a moment, my stomach tightened.

After everything that had happened, there was still one secret left between us.

“Irene?”

She closed her eyes.

“I met your father before I met you.”

I stared at her.

“When?”

“Seven years ago.”

That was nearly a year before he died.

“How?”

“My mother worked for one of his charitable foundations.”

I said nothing.

“Your father helped her when she was sick. After she died, I wrote him a thank-you letter. We spoke several times.”

“You knew who I was?”

“Yes.”

“When we met?”

“Yes.”

The room felt suddenly smaller.

“Why didn’t you tell me?”

“Because I was ashamed of how it would sound.”

My voice hardened.

“Say it anyway.”

“Your father told me about you.”

“What did he say?”

“That you were stubborn. That you trusted too easily. That you were the only person in the family he believed cared more about people than money.”

I looked toward the window.

“And then you happened to meet me?”

“No.”

The answer hurt.

“I went to an event I knew you would attend.”

I stood.

“A charity dinner?”

“Yes.”

“So Carla was right.”

“Not the way she meant it.”

“You came looking for me.”

“Yes.”

“Why?”

Irene’s eyes filled.

“Because your father asked me to.”

I froze.

“What?”

“Months before he died, he told me he was worried about you. He believed Margaret and Carla were using you. He thought you would never see it because you loved them.”

“So he sent you?”

“No. He didn’t ask me to marry you. He didn’t even ask me to date you.”

“What did he ask?”

“To become your friend if I ever had the chance.”

I stared at her.

“That sounds insane.”

“I know.”

“Why would he choose you?”

“Because I had already discovered accounting irregularities at the foundation.”

The final piece fell into place.

“You were the one who first warned him.”

“Yes.”

Irene wiped tears from her face.

“After he died, I stayed away from you for almost a year. Then I saw your name on the guest list for a charity event.”

“And you went.”

“Yes.”

“To protect me?”

“At first.”

I laughed bitterly.

“At first.”

“Then I met you.”

Her voice broke.

“And I fell in love with you.”

I wanted to be angry.

Part of me was.

But I remembered the woman on our bedroom floor refusing to give Margaret the safe code.

The woman who had risked herself to preserve evidence.

The woman carrying our child.

“Why didn’t you tell me when we got serious?”

“Because by then I was terrified you would think everything between us had been planned.”

“And was it?”

“No.”

She reached for my hand.

“I chose the event. I did not choose falling in love with you. I did not choose our marriage. I did not choose our baby as part of some plan.”

I looked at her for a long time.

Then I sat beside her again.

“You should have told me.”

“I know.”

“You should have trusted me.”

“I know.”

I took her hand.

“But you didn’t deserve what happened to you.”

Her face crumpled.

That was when she finally cried.

Not quietly.

Not carefully.

She buried her face against my chest and cried for everything at once.

The attack.

The baby.

My father.

The lies.

The years of secrets.

I held her until she stopped shaking.


Three months later, prosecutors filed expanded charges against Margaret and Carla related to the assault, attempted theft, financial fraud, forgery, and conspiracy.

The investigation into my father’s death continued separately.

I stopped paying Carla’s debts.

Stopped paying Margaret’s mortgage.

Froze every account connected to the family trust.

The court appointed an independent forensic accountant.

More transfers were discovered.

More forged documents.

More lies.

In total, investigators traced millions in unauthorized transactions.

Carla eventually accepted a cooperation agreement.

Margaret refused.

She insisted she had done everything for her children.

Even after the evidence showed how much of the money she had kept for herself.

The last time I saw her before trial was through a glass partition.

She looked smaller.

Older.

But her voice was the same.

“Austin, after everything I sacrificed for you, you’re really going to let strangers destroy this family?”

I stared at her.

“No.”

She leaned forward.

“Then help me.”

“You destroyed this family.”

Her face tightened.

“I am your mother.”

I thought of those words from the bedroom.

Not tonight.

Now I understood what I should have said.

“Being my mother gave you access to my trust,” I told her. “It gave you access to my house. It gave you access to my father.”

I leaned closer.

“It did not give you ownership of any of us.”

She looked at me with hatred then.

Not grief.

Not regret.

Hatred.

And finally, I stopped wondering which version of my mother was real.

They both were.

The woman who packed my school lunches.

And the woman who could drag my pregnant wife across a bedroom floor for a safe code.

That was the hardest truth.

People do not always become monsters overnight.

Sometimes the person who loves you is also the person capable of hurting you most when love stops giving them control.


Four months later, Irene and I returned to the storage facility one final time.

The investigation no longer needed the box.

Daniel had arranged for the remaining personal items to be released to me.

There was only one envelope left.

I hadn’t noticed it before.

It was smaller than the others.

On the front, my father had written:

For Austin when he becomes a father.

My hands shook.

Irene stood beside me, one hand resting on her stomach.

She was seven months pregnant now.

Healthy.

So was our son.

I opened the envelope.

Inside was a single page.

Austin,

If you are reading this because you have a child of your own, then you finally understand something I did not understand until too late.

Money is useful.

Property is useful.

A family name may open doors.

But none of those things should ever matter more than whether the people inside your home feel safe.

Do not measure yourself by what you can leave your child.

Measure yourself by what your child never has to fear because you were there.

I stopped reading.

Irene placed her hand over mine.

At the bottom of the page, my father had written one final sentence.

And if the people you love ever force you to choose between protecting the family name and protecting your child, protect the child.

Every time.

I read the sentence twice.

Then I folded the letter.

Irene looked at me.

“You okay?”

I nodded.

For the first time in months, I actually was.

We left box 317 empty.

When we walked outside, the Arizona sun was setting behind the buildings.

Irene slipped her hand into mine.

Our son kicked beneath her palm.

Six years earlier, my father had tried to protect a future grandchild he would never meet.

My mother had spent those same six years trying to steal what he left behind.

And if my flight to London had departed on schedule that night, I might never have known any of it.

Margaret and Carla would have had hours alone with Irene.

The safe might have been opened.

The original documents might have disappeared.

The recording on my phone would not exist.

The storage key might have been taken.

And box 317 might have been emptied before sunrise.

For months, people told me how lucky I was that my flight had been canceled.

I never described it that way.

A canceled flight did not save my family.

Irene’s refusal to surrender the truth did.

My father’s decision to preserve evidence did.

And one choice I made in a dark hallway at 1:53 in the morning did.

I wanted to run into that bedroom and fight.

Instead, I recorded.

For ninety seconds, I stood still while the two people I had trusted longest told the truth because they believed no one important was listening.

They were wrong.

I was listening.

The police were listening soon after.

Eventually, a judge would listen too.

And the last secret my mother tried to bury inside our family did not disappear inside a damaged safe.

It survived on a silver key.

Inside box 317.

May you like

Waiting for the night I came home early.

Report this article

Select a reason for reporting:

Inaccurate information Copyright violation Spam / advertisement Offensive content Other '; footer.hidden = true; overlay.hidden = false; document.body.style.overflow = 'hidden'; } function hideSection() { if (section) section.hidden = true; } function openModal() { if (alreadyReported) { showSuccess(); return; } overlay.hidden = false; document.body.style.overflow = 'hidden'; } function closeModal() { overlay.hidden = true; document.body.style.overflow = ''; footer.hidden = false; overlay.querySelectorAll('input[name="report_reason"]').forEach(function(r) { r.checked = false; }); document.getElementById('reportMessage').value = ''; errorBox.hidden = true; submitBtn.disabled = false; submitBtn.textContent = 'Submit report'; imageItems = []; imgGrid.innerHTML = ''; updateAttachBtn(); } btn.addEventListener('click', openModal); closeBtn.addEventListener('click', closeModal); cancelBtn.addEventListener('click', closeModal); overlay.addEventListener('click', function(e) { if (e.target === overlay) closeModal(); }); document.addEventListener('keydown', function(e) { if (!overlay.hidden && e.key === 'Escape') closeModal(); }); // --- Error helper --- function showError(msg) { errorBox.textContent = msg; errorBox.hidden = false; } // --- Submit --- submitBtn.addEventListener('click', function() { var selected = overlay.querySelector('input[name="report_reason"]:checked'); if (!selected) { showError('Please select a reason.'); return; } errorBox.hidden = true; submitBtn.disabled = true; var itemsToUpload = imageItems.filter(function(it) { return !it.uploadedUrl; }); if (itemsToUpload.length === 0) { doSubmit(selected.value); return; } submitBtn.textContent = 'Uploading…'; var done = 0, failed = 0; itemsToUpload.forEach(function(entry) { entry.statusEl.textContent = '…'; entry.statusEl.className = 'report-img-item__status'; entry.statusEl.hidden = false; resizeImage(entry.file, MAX_LONG_PX, function(resized) { uploadFile(resized, currentSlug, function(err, url) { done++; if (err) { failed++; entry.statusEl.textContent = 'Failed'; entry.statusEl.className = 'report-img-item__status err'; } else { entry.uploadedUrl = url; entry.statusEl.textContent = '✓'; entry.statusEl.className = 'report-img-item__status done'; } if (done === itemsToUpload.length) { if (failed > 0) { showError('Could not upload ' + failed + ' image(s). Remove the failed ones (red) or submit without them.' ); submitBtn.disabled = false; submitBtn.textContent = 'Submit report'; } else { doSubmit(selected.value); } } }); }); }); }); function doSubmit(reason) { submitBtn.textContent = 'Sending…'; var uploadedUrls = imageItems .map(function(it) { return it.uploadedUrl; }) .filter(Boolean); var payload = { reason: reason, message: document.getElementById('reportMessage').value.trim(), post_slug: currentSlug, post_url: window.location.href }; if (uploadedUrls.length) payload.image_urls = uploadedUrls; fetch('/api/post-report', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Requested-With': 'XMLHttpRequest' }, body: JSON.stringify(payload) }) .then(function(r) { return r.json(); }) .then(function(data) { if (data && data.ok) { markReported(currentSlug); alreadyReported = true; bodyEl.innerHTML = '✓ Thank you for your report.'; footer.hidden = true; setTimeout(function() { closeModal(); footer.hidden = false; hideSection(); }, 2000); } else { showError((data && data.message) ? data.message : 'Something went wrong. Please try again.'); submitBtn.disabled = false; submitBtn.textContent = 'Submit report'; } }) .catch(function() { showError('Connection failed. Please try again.'); submitBtn.disabled = false; submitBtn.textContent = 'Submit report'; }); } })();

Comments 0

Posting as Guest

Other posts