1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 06:42:42 +01:00
phorge-phorge/webroot/rsrc
Valerio Bozzolan 3487ee444a Fix regression in new confirmation Dialog
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

Reviewers: bekay, Ekubischta, O1 Blessed Committers, avivey

Reviewed By: O1 Blessed Committers, avivey

Subscribers: speck, tobiaswiese, Matthew, Cigaryno

Maniphest Tasks: T15034

Differential Revision: https://we.phorge.it/D25076
2023-03-14 20:24:50 +01:00
..
audio/basic Add a few more sounds 2017-04-19 13:47:23 -07:00
css Added cross-platform default fonts 2022-10-09 03:30:07 -07:00
externals Fix regression in new confirmation Dialog 2023-03-14 20:24:50 +01:00
favicons Dynamically composite favicons from customizable sources 2018-03-12 15:28:41 -07:00
image Update sprite sheets 2022-11-11 13:04:20 -07:00
js Merge Phacility/master into phorge 2022-07-25 11:50:26 -07:00