dailycanvas
Jun 11, 2026

While we were on a family vacation, my daughter-in-law pointed directly at me and snapped in front of the hotel receptionist 016

While we were on a family vacation, my daughter-in-law pointed directly at me and snapped in front of the hotel receptionist 016

Posted August 1, 2026

While we were on a family vacation, my daughter-in-law pointed directly at me and snapped in front of the hotel receptionist, “Don’t speak to her—she’s only the maid!” My son laughed with her, never realizing that I owned the resort—one of the most luxurious properties along the Florida coast—and what I did next threw him into complete panic.
During our family getaway, my daughter-in-law shouted at the hotel receptionist, “Don’t bother talking to the old woman. She’s just the help.” My son gave a careless laugh. She had no idea I was the owner of the resort. What I did afterward left her shaking. I’m so glad you’re here. Stay with me until the end of my story, and tell me which city you’re watching from so I can see how far this story travels.

Preview


I had looked forward to this vacation for months. At seventy-two years old, chances to spend meaningful time with my son, Mark, and his family had become increasingly rare. When he proposed taking a weeklong trip to Florida, my heart filled with hope and excitement. Maybe, at last, I would have the opportunity to grow closer to Amber, my daughter-in-law, who had remained distant throughout all five years of their marriage.
The four-hour drive to Serenity Shores Resort was dominated by conversations between Mark and Amber about spa appointments, golf reservations, and costly dinners, almost as though I weren’t sitting there at all. Whenever I tried to take part, asking about the children or offering ideas for activities we could enjoy together, Amber answered with brief, clipped responses while Mark ignored me entirely. I should have recognized the warning signs, but I was so determined to repair and strengthen our family connection that I pushed my concerns aside.
Serenity Shores Resort was one of the proudest achievements of my life, although no one in my family knew the truth. After my husband died when Mark was only twelve, I created my hotel business from nothing. I began with a modest bed-and-breakfast, working eighteen-hour shifts, cleaning rooms, handling bookings, and gradually expanding until I owned seventeen properties spread across three states. I had always kept my business life separate from my family because I wanted Mark to care about me for the person I was, not for the wealth I had built.

Preview


As we arrived beneath the magnificent front entrance, I felt the familiar surge of pride while looking at the immaculate gardens and the sharply dressed valets hurrying forward to welcome arriving guests. It had taken me three years to purchase Serenity Shores and another two years to transform it into the flawless resort it had become. Every detail, from the polished marble flooring to the sparkling crystal chandeliers, had been personally chosen by me.
Mark passed the car keys to the valet while Amber adjusted her expensive designer sunglasses and ran a hand over her smooth blonde hair. She was undeniably attractive, possessing the kind of polished beauty created through high-priced salons and private fitness trainers. At thirty-five, and twenty years younger than Mark, she made certain that everyone around her remembered it.
“Remember,” she said to him as we walked toward the entrance, “I want the penthouse suite. I don’t care what they claim about availability. Make sure it happens.”
Mark agreed immediately, without the slightest hesitation. It still shocked and wounded me to see how completely he bent to her wishes. The self-assured boy I had raised had grown into a man who seemed incapable of making a decision without first receiving his wife’s approval.
We stepped into the sophisticated lobby, and I couldn’t stop myself from smiling at the familiar energy and steady hum of activity. Sarah, the front desk manager, raised her eyes the moment she noticed me.

Preview

Sarah’s expression changed immediately.

Not dramatically.

Not enough for Amber or Mark to notice.

But I noticed.

For nearly fifteen years, Sarah Collins had worked for me in one role or another. She had started as a night auditor at a smaller property in Naples, worked her way through operations, guest relations, and management, and eventually became one of the most trusted people in my company.

She knew exactly who I was.

More importantly, she knew I valued discretion.

Her posture straightened.

Her smile became warmer.

“Mrs. Whitmore,” she began.

Amber stepped forward before Sarah could finish.

“No, no,” she said, waving one manicured hand. “You don’t need to talk to her.”

Sarah paused.

Amber pointed toward me.

Actually pointed.

Like I was luggage.

“She’s just the help.”

The lobby seemed to lose its sound.

A bell cart rolled somewhere behind us.

A child laughed near the elevators.

Ice rattled inside a cocktail glass at the lobby bar.

But right there at the desk, everything stopped.

Sarah looked at Amber.

Then at me.

Then back at Amber.

“I’m sorry?” Sarah asked.

Amber sighed as though dealing with an incompetent employee.

“The old woman,” she said.

My son chuckled beside her.

Not loudly.

Just enough.

“She tends to insert herself into everything,” he said.

Sarah’s eyes moved toward him.

Mark did not recognize her.

Of course he didn’t.

In all the years I had owned hotels, he had visited exactly two of them, and both times had spent more time golfing than speaking with staff.

Amber leaned closer to the counter.

“We’re the actual guests,” she said. “Mark Whitmore and Amber Whitmore. We requested the penthouse.”

Sarah remained perfectly still.

Behind her professional smile, I could see anger beginning to form.

I gave her the smallest shake of my head.

Not yet.

She understood.

“Of course,” Sarah said. “May I see the reservation?”

Mark pulled out his phone.

While he searched for the confirmation email, Amber turned toward me.

“You can stand over there.”

I looked at her.

“Excuse me?”

“By the luggage.”

She gestured toward a grouping of leather chairs near the entrance.

“We don’t need five people crowding the desk.”

There were three of us.

I glanced at Mark.

He avoided my eyes.

That hurt more than Amber’s words.

Cruelty from someone who has never loved you is unpleasant.

Cruelty from your child feels surgical.

Clean.

Precise.

Impossible to ignore.

“Amber,” I said quietly, “I am part of this reservation.”

She laughed.

“No, Eleanor. You’re along for the ride.”

Sarah’s fingertips tightened on the keyboard.

Mark finally found the email.

“Here.”

Sarah entered the reservation number.

For several seconds, she typed.

Then she looked up.

“I have Mr. and Mrs. Whitmore in a deluxe ocean-view suite.”

Amber’s smile disappeared.

“No.”

Sarah remained pleasant.

“Excuse me?”

“I said no.”

Amber set both hands on the marble desk.

“We requested the penthouse.”

“I see a note requesting an upgrade if available.”

“Exactly.”

“The penthouse is not available under your reservation.”

Amber gave Mark a sharp look.

“Fix it.”

He leaned toward Sarah.

“Look, we drove four hours. My wife was told you would accommodate us.”

Sarah looked at the screen again.

“I don’t see any guarantee.”

Amber snapped.

“I don’t care what you see.”

Several guests nearby began listening.

I could feel embarrassment warming my face.

Not for myself.

For Mark.

For the man standing there speaking to an employee as though rules existed only for other people.

Sarah’s voice stayed even.

“The penthouse is reserved for ownership use this week.”

That almost made me smile.

Amber rolled her eyes.

“Then call the owner.”

Sarah looked directly at me.

Just for one second.

Amber caught it.

“What?”

Sarah said nothing.

Amber turned toward me.

“Why is she looking at you?”

I folded my hands over the handle of my small suitcase.

“I have no idea.”

That was technically true.

I didn’t know why Sarah had chosen that exact second to look at me.

Maybe she wanted permission.

Maybe she wanted rescue.

Amber looked back at Sarah.

“Who owns this place?”

Sarah answered carefully.

“Serenity Shores is privately held.”

“Wonderful. Call whoever’s in charge.”

“I am the front desk manager.”

“No. I mean someone important.”

The words landed harder than I think Amber intended.

Sarah’s expression cooled.

Mark rubbed the back of his neck.

“Amber, come on.”

“No.”

She turned toward him.

“You promised me the penthouse.”

“I know.”

“Then get it.”

I watched my son shrink.

That was the only word for it.

He had spent his childhood strong-willed, stubborn, opinionated.

Now one disapproving look from Amber reduced him to apology.

He turned back to Sarah.

“Is there a general manager?”

“Yes.”

“Get them.”

Sarah nodded.

“Certainly.”

She picked up the phone.

I already knew whom she was calling.

Daniel Mercer.

General manager.

Former Navy logistics officer.

One of the calmest men I had ever employed.

Thirty seconds later, he appeared from the corridor behind the desk.

Daniel was fifty-six, broad-shouldered, silver at the temples, and carried himself with the kind of quiet authority that made people lower their voices without knowing why.

He saw me instantly.

His face gave nothing away.

Good man.

Sarah explained the situation briefly.

Daniel looked at Mark.

“Mr. Whitmore, your current reservation is for an ocean-view suite.”

Amber cut in.

“We are taking the penthouse.”

Daniel smiled politely.

“I’m afraid you are not.”

She laughed once.

Not because anything was funny.

Because she could not imagine hearing no.

“Do you know who we are?”

Daniel’s eyes flicked toward me.

“Yes,” he said.

I had to look away so Amber would not see my expression.

She straightened.

“Good.”

Daniel continued.

“You are guests with a deluxe ocean-view reservation.”

Her smile vanished.

Mark exhaled through his nose.

“Can we just upgrade to something else?”

“Certainly,” Daniel said. “There are two premium suites still available.”

Amber looked at him.

“And the penthouse?”

“Unavailable.”

“Why?”

“As Sarah explained, it is reserved.”

“For whom?”

Daniel paused.

“The owner.”

Amber turned to me again.

This time her eyes narrowed.

I knew that look.

Suspicion.

But only for a moment.

Then she dismissed the possibility.

Why wouldn’t she?

In Amber’s mind, I was a retired widow who wore sensible shoes and carried coupons.

I had never discussed my finances with them.

Mark knew I had “worked in hospitality.”

That was how I phrased it.

He knew I had once owned a small inn.

He knew I had invested.

He knew I lived comfortably.

He did not know the scale.

He never asked.

Perhaps that was my mistake.

Or perhaps it was my salvation.

Amber leaned toward Daniel.

“If the owner is staying here, go ask them.”

Daniel looked directly at me.

“Would you like me to?”

The silence that followed felt enormous.

Mark frowned.

Amber looked from Daniel to me.

Then back again.

“What did he just say?”

I smiled.

Only a little.

“Daniel,” I said, “I think the ocean-view suite will be fine.”

Mark froze.

Amber stared.

Daniel nodded.

“Of course, Mrs. Whitmore.”

Amber’s lips parted.

“Mrs. Whitmore?”

I looked at her.

“Yes?”

She gave a nervous laugh.

“No, I mean—why is he asking you?”

Daniel stepped slightly back.

Sarah lowered her eyes.

Neither of them was going to do this for me.

That choice belonged to me.

I had imagined revealing the truth to Mark differently one day.

Perhaps over dinner.

Perhaps after I updated my estate plan.

Maybe I would walk him through the business, introduce him to senior management, explain what I had built.

I never imagined doing it after my daughter-in-law called me a maid in my own lobby.

But life rarely waits for the correct setting.

“Because I’m the owner,” I said.

No one moved.

Amber stared at me.

Mark blinked.

Then laughed.

Actually laughed.

“Mom.”

I said nothing.

He shook his head.

“Seriously.”

Daniel spoke.

“Mrs. Whitmore is the majority owner of Serenity Shores Resort and Whitmore Coastal Hospitality.”

My son’s face changed.

The humor disappeared first.

Then color.

Amber’s eyes moved to Daniel.

Then Sarah.

Then me.

“No.”

One word.

Barely audible.

Sarah said quietly, “Mrs. Whitmore has owned this property since the acquisition twelve years ago.”

Amber looked as if the marble floor had shifted beneath her.

“Twelve years?”

“Yes.”

Mark stared at me.

“You own this?”

“I do.”

“This whole resort?”

“Yes.”

“How much of it?”

“All of it through the holding company.”

He swallowed.

Amber looked around the lobby.

At the chandeliers.

The polished floors.

The concierge desk.

The lobby bar.

The glass doors opening toward gardens beyond.

It was as though she were seeing the building for the first time.

Then something worse happened.

She recalculated me.

I watched it happen.

The contempt disappeared.

In its place came interest.

Then fear.

Then frantic charm.

“Eleanor.”

Her voice softened so quickly it almost impressed me.

“I was joking.”

Sarah’s eyebrows lifted.

I looked at Amber.

“You called me the help.”

“Oh, come on.”

She gave a small laugh.

“You know how I am.”

“Yes.”

I let the word settle.

“I do now.”

Mark stepped closer.

“Mom, this is insane. Why didn’t you tell me?”

“That I owned hotels?”

“That you owned this.”

“You never asked.”

He opened his mouth.

Closed it.

Then tried again.

“What else do you own?”

There it was.

Not I’m sorry.

Not are you hurt.

What else do you own?

I felt something inside me finally become simple.

“Seventeen properties.”

Mark’s jaw dropped.

Amber went pale.

“Seventeen resorts?”

“Hotels, inns, and resorts.”

“How much is the company worth?”

I looked at my son.

“Is that really the question you want to ask me?”

He looked away.

Amber spoke quickly.

“This whole thing has been misunderstood.”

“No.”

I shook my head.

“It has been clarified.”

Her face tightened.

“Eleanor, I said something rude. Fine. I apologize.”

“Do you?”

“Yes.”

“What are you apologizing for?”

She hesitated.

Mark whispered, “Amber.”

She glared at him.

Then forced a smile.

“For calling you the help.”

“That isn’t the part that bothered me most.”

Her expression changed.

“What bothered you most?”

I looked at Mark.

“My son laughing.”

He flinched.

“Mom.”

I waited.

He rubbed both hands over his face.

“I shouldn’t have.”

“No.”

“I was trying to keep things light.”

“By humiliating me?”

“It wasn’t like that.”

“It was exactly like that.”

Amber folded her arms.

“So what now? You’re going to throw us out?”

She said it defiantly, but I could hear the fear beneath it.

I considered the question.

Then looked at Daniel.

“Is their room ready?”

“Yes.”

“Keep the reservation.”

Amber blinked.

Mark looked relieved.

For half a second.

Then I continued.

“But remove every complimentary upgrade attached to my owner profile.”

Daniel nodded.

Mark frowned.

“What upgrades?”

Daniel answered.

“Private airport transfer on departure. Resort credit. Spa package. Cabana reservation. Chef’s tasting dinner. Golf fees. Excursion credit.”

Amber’s face drained.

“What?”

I looked at her.

“All things I arranged.”

She stared at me.

“You did that?”

“Yes.”

“You were paying for the spa?”

“Yes.”

“The golf?”

“Yes.”

“The dinner tonight?”

“Yes.”

Mark looked at me helplessly.

“Mom.”

“And the private yacht charter tomorrow.”

Amber went completely still.

“The yacht?”

“Canceled.”

Her mouth opened.

I continued.

“The penthouse was intended as a surprise upgrade for all of us.”

Mark’s eyes widened.

“You were going to give us the penthouse?”

“Yes.”

Amber whispered something under her breath.

I turned toward Daniel.

“Release it back into inventory.”

“Of course.”

Mark’s voice became urgent.

“Wait.”

I looked at him.

“It’s available now, right?”

Daniel answered before I could.

“Yes.”

“Then we can still—”

“No,” I said.

My son stopped.

He stared at me.

“You’re serious?”

“Completely.”

Amber’s voice cracked.

“So you’re punishing us.”

“No.”

I picked up my handbag.

“I’m allowing you to have exactly the vacation you booked and paid for.”

Neither of them spoke.

“The deluxe ocean-view suite,” I continued. “Meals you choose. Activities you purchase. Spa appointments you fund. Golf reservations charged to your room.”

Amber looked at Mark.

He looked terrified.

That surprised me.

Until I remembered something.

Mark had called me two months earlier complaining about expenses.

A new car.

Private school tuition.

Credit-card balances.

A kitchen renovation Amber insisted on completing.

They had money.

But not enough for the lifestyle they performed.

This vacation, in Amber’s mind, had been an all-expenses-paid luxury experience.

She just had not understood who was paying.

“You told me this was a family vacation,” Mark said.

“It was supposed to be.”

“It still can be.”

I smiled sadly.

“No.”

“Mom.”

“You and Amber should enjoy your week.”

“What about you?”

“I’ll be staying in the penthouse.”

Amber looked like she had been slapped.

“Alone?”

“Yes.”

She let out a disbelieving laugh.

“That’s ridiculous.”

I turned toward her.

“Why?”

“It has four bedrooms.”

“So?”

“That’s a waste.”

There it was again.

Entitlement fighting its way through panic.

Sarah looked down quickly.

Daniel’s mouth tightened.

I smiled.

“You’re right.”

Amber brightened slightly.

“So we can—”

“I’ll invite some friends.”

Her face fell.

Mark stepped toward me.

“Can we talk privately?”

I considered it.

Then nodded.

Daniel escorted us toward a quiet sitting room near the business center.

Amber came too.

Of course she did.

The door closed behind us.

Mark immediately began pacing.

“This is a lot.”

“For you?”

“Yes.”

He stopped.

“You’ve been sitting on a company with seventeen properties and never told me.”

I stared at him.

“Sitting on?”

“You know what I mean.”

“No. I’m not sure I do.”

He swallowed.

“I’m your son.”

“Yes.”

“Doesn’t that mean I should know?”

“Know what?”

“What happens later.”

I already understood.

But I wanted to hear him say it.

“Later?”

“With the company.”

Amber spoke.

“The inheritance.”

Mark shot her a look.

Too late.

The word had entered the room.

I sat down.

“How interesting.”

Amber immediately backtracked.

“That sounded terrible.”

“It sounded honest.”

Mark sat across from me.

“Mom, this isn’t about money.”

“Then tell me what you regret most about today.”

He said nothing.

I waited.

Amber looked at the floor.

Finally Mark whispered, “Laughing.”

“Why?”

“Because it was disrespectful.”

“To whom?”

“You.”

“Would it have been disrespectful if I were actually a maid?”

His eyes lifted.

That was the question neither of them had prepared for.

Amber shifted.

I continued.

“If I had spent my life cleaning rooms instead of owning them, would your behavior have been acceptable?”

“No,” Mark said quietly.

“Would it?”

“No.”

I looked at Amber.

She did not answer.

“Because that is the real problem,” I said.

“You are embarrassed because the woman you demeaned turned out to have money.”

Amber’s face reddened.

“But you should be embarrassed because you demeaned a woman.”

Silence.

“The ownership changed your fear. It did not change your behavior.”

Mark lowered his head.

I stood.

“I am not making any decisions about inheritance today.”

Both of them looked up.

“But I am making decisions about access.”

“What does that mean?” Amber asked.

“It means my business finances are no longer something Mark will casually benefit from.”

My son went pale again.

“What are you talking about?”

“The monthly transfers.”

Amber looked at him sharply.

“What transfers?”

Interesting.

Apparently she did not know.

For nearly three years, I had quietly sent Mark five thousand dollars a month.

Not because he asked directly.

Because I knew things were tight.

Because I knew the children needed stability.

Because I was his mother.

Amber stared at him.

“You get money from her every month?”

Mark rubbed his forehead.

“Mom.”

I ignored him.

“The transfers stop today.”

His voice rose.

“You can’t just do that.”

I looked at him.

“I can.”

Amber stood.

“How are we supposed to cover everything?”

I almost laughed.

“You told a seventy-two-year-old woman she was only the help an hour ago.”

Her face hardened.

“Stop repeating that.”

“No.”

I stepped closer.

“You said it because you believed I had no power.”

She looked away.

“And now that you know I do, suddenly you want me to stop remembering.”

Neither of them answered.

I opened the door.

Daniel was standing outside.

“I’m ready for my suite.”

He nodded.

“Of course.”

Mark called after me.

“Mom.”

I stopped.

He looked shaken.

For the first time since arriving, he did not look entitled.

He looked afraid.

“Are we okay?”

I thought about the question.

“No.”

His face crumpled slightly.

“But we might be someday.”

I walked away.

The elevator carried me to the top floor.

When the penthouse doors opened, sunlight flooded the marble foyer.

Beyond the windows, the Atlantic stretched endlessly under a bright Florida sky.

I stood there alone for a long time.

Then my phone buzzed.

A message from Sarah.

Are you all right?

I typed back.

I am now.

That evening, I ate dinner on the penthouse terrace.

No yacht.

No family photos.

No forced smiles.

Just grilled fish, a glass of white wine, and the sound of waves beyond the palms.

Around eight, my phone rang.

Mark.

I let it ring.

Then again.

Then Amber.

I ignored that too.

At nine thirty, someone knocked.

I knew who it was.

I opened the door.

Mark stood alone.

No expensive polo.

No practiced confidence.

Just my son.

“Can I come in?”

I stepped aside.

He walked toward the windows.

For a while he simply stared at the ocean.

Then he said, “I didn’t know you hated me.”

I felt a sharp ache.

“I don’t.”

He turned.

“You stopped the money.”

“Yes.”

“You canceled everything.”

“Yes.”

“You embarrassed Amber.”

I almost smiled.

“I embarrassed Amber?”

He closed his eyes.

“Okay. Bad wording.”

“Very.”

He sat down.

“Why didn’t you ever tell me what you built?”

I joined him.

“Because I wanted to know who you were without it.”

He stared at the floor.

“And?”

I answered honestly.

“I’m still finding out.”

His eyes filled.

That hurt me.

But I did not rescue him from it.

Sometimes love means refusing to soften a truth before someone has learned from it.

After a long silence, he whispered, “I’m ashamed.”

I nodded.

“Good.”

He looked surprised.

“Good?”

“Shame can be useful if you do something with it.”

He wiped his eyes.

“What do I do?”

“Start by treating people well when you believe they have nothing to offer you.”

He nodded.

“And Amber?”

“That is between you and your wife.”

“Will you forgive her?”

“Maybe.”

“When?”

“When I know she is sorry for humiliating a woman, not terrified of offending an owner.”

Mark looked toward the ocean again.

For once, he had no argument.

The next morning, I came downstairs early.

Sarah was at the front desk.

When she saw me, she smiled.

“Good morning, Mrs. Whitmore.”

“Good morning.”

A housekeeping attendant named Rosa was arranging flowers nearby.

I had known her for years.

I walked over and asked about her daughter’s nursing program.

Her face lit up.

We talked for ten minutes.

When I turned around, Amber was standing near the elevators watching us.

She looked uncomfortable.

Then Rosa passed her carrying a basket of clean linens.

Amber hesitated.

And quietly moved aside.

“Good morning,” she said.

Rosa smiled.

“Good morning, ma’am.”

It was not redemption.

Not even close.

But it was a beginning.

And as I walked toward the terrace with the Florida sun warming the lobby behind me, I understood something I should have learned years earlier.

People do not reveal who they are when they discover you are powerful.

They reveal who they are when they believe you are powerless.

May you like

Everything after that is just damage control.

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