Page MenuHomePhorge

Fix regression in new confirmation Dialog
ClosedPublic

Authored by valerio.bozzolan on Mar 13 2023, 20:40.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 19:35
Unknown Object (File)
Mon, Apr 29, 19:34
Unknown Object (File)
Thu, Apr 25, 10:49
Unknown Object (File)
Thu, Apr 25, 10:49
Unknown Object (File)
Thu, Apr 25, 10:49
Unknown Object (File)
Thu, Apr 25, 05:22
Unknown Object (File)
Wed, Apr 24, 22:23
Unknown Object (File)
Thu, Apr 11, 04:21

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