Page MenuHomePhorge

Fix regression in new confirmation Dialog
ClosedPublic

Authored by valerio.bozzolan on Mar 13 2023, 20:40.
Tags
None
Referenced Files
F3801757: D25076.1745963737.diff
Mon, Apr 28, 21:55
F3801566: D25076.1745956660.diff
Mon, Apr 28, 19:57
F3789576: D25076.1745918865.diff
Mon, Apr 28, 09:27
F3776499: D25076.1745862567.diff
Sun, Apr 27, 17:49
F3674108: D25076.1745487862.diff
Wed, Apr 23, 09:44
F3666897: D25076.1745465819.diff
Wed, Apr 23, 03:36
F3645395: D25076.1745371992.diff
Tue, Apr 22, 01:33
F3605081: D25076.1745251517.diff
Sun, Apr 20, 16:05

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