diff options
| author | supahgreg <supahgreg@users.noreply.github.com> | 2025-10-14 23:22:00 +0000 |
|---|---|---|
| committer | supahgreg <supahgreg@users.noreply.github.com> | 2025-10-14 23:23:01 +0000 |
| commit | f85559735b794682057e5b8d3854373f4d10dbb9 (patch) | |
| tree | a4622a6d572deca239cb562f0f2d78ad6e2c1565 /js/CommonDialogs.js | |
| parent | 6bd52b28c201c2afb43397c1413000d47563da0b (diff) | |
Remove 'App.byId()', which was essentially an alias of 'document.getElementById()'.
Diffstat (limited to 'js/CommonDialogs.js')
| -rw-r--r-- | js/CommonDialogs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/CommonDialogs.js b/js/CommonDialogs.js index 16c1f5f46..bf70902b7 100644 --- a/js/CommonDialogs.js +++ b/js/CommonDialogs.js @@ -116,7 +116,7 @@ const CommonDialogs = { </form> `, show_error: function (msg, additional_info) { - const elem = App.byId("fadd_error_message"); + const elem = document.getElementById("fadd_error_message"); elem.innerHTML = `${msg}${additional_info ? `<br><br><h4>${__('Additional information')}</h4>${additional_info}` : ''}`; |