Page MenuHomePhorge

Fix regression in new confirmation Dialog
ClosedPublic

Authored by valerio.bozzolan on Mar 13 2023, 20:40.
Tags
None
Referenced Files
F3878083: D25076.1746214702.diff
Thu, May 1, 19:38
F3850481: D25076.1746112406.diff
Wed, Apr 30, 15:13
F3847285: D25076.1746105992.diff
Wed, Apr 30, 13:26
F3847284: D25076.1746105991.diff
Wed, Apr 30, 13:26
F3847283: D25076.1746105990.diff
Wed, Apr 30, 13:26
F3847282: D25076.1746105989.diff
Wed, Apr 30, 13:26
F3847281: D25076.1746105988.diff
Wed, Apr 30, 13:26
F3801757: D25076.1745963737.diff
Mon, Apr 28, 21:55

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 Warnings
SeverityLocationCodeMessage
Warningwebroot/rsrc/externals/javelin/lib/Workflow.js:563W117JSHintW117
Unit
No Test Coverage
Build Status
Buildable 133
Build 133: arc lint + arc unit

Event Timeline

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