Page MenuHomePhorge

Fix regression in new confirmation Dialog
ClosedPublic

Authored by valerio.bozzolan on Mar 13 2023, 20:40.
Tags
None
Referenced Files
F4042578: D25076.1746725482.diff
Wed, May 7, 17:31
F4042576: D25076.1746725481.diff
Wed, May 7, 17:31
F4042574: D25076.1746725480.diff
Wed, May 7, 17:31
F4042572: D25076.1746725479.diff
Wed, May 7, 17:31
F4015227: D25076.1746639479.diff
Tue, May 6, 17:37
F3981274: D25076.1746547770.diff
Mon, May 5, 16:09
F3966850: D25076.1746518898.diff
Mon, May 5, 08:08
F3945668: D25076.1746445186.diff
Sun, May 4, 11:39

Details

Summary

Fix a JavaScript regression encapsulating the problematic part into an if.

Other minor changes:

  • dedicate a variable for the confirmation messages to improve i18n in the future (but also to avoid 80 characters and make lint happy)
  • replace confirm with window.confirm (to make lint happy)

Ref T15034
Ref D25015

Test Plan
  • surf on your local Phorge
  • no JavaScript errors in console

Diff Detail

Repository
rP Phorge
Branch
T15034-fix-regression
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 134
Build 134: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Mar 14 2023, 18:32