Page MenuHomePhorge

Fix regression in new confirmation Dialog
ClosedPublic

Authored by valerio.bozzolan on Mar 13 2023, 20:40.
Tags
None
Referenced Files
F3576162: D25076.1745032221.diff
Fri, Apr 18, 03:10
F3576160: D25076.1745032215.diff
Fri, Apr 18, 03:10
F3576159: D25076.1745032213.diff
Fri, Apr 18, 03:10
F3576158: D25076.1745032212.diff
Fri, Apr 18, 03:10
F3575685: D25076.1745008711.diff
Thu, Apr 17, 20:38
F3501771: D25076.1744795562.diff
Tue, Apr 15, 09:26
F3402347: D25076.1744569041.diff
Sat, Apr 12, 18:30
F3383330: D25076.1744384760.diff
Thu, Apr 10, 15:19

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