summaryrefslogtreecommitdiff
path: root/js/CommonDialogs.js
diff options
context:
space:
mode:
authorsupahgreg <supahgreg@users.noreply.github.com>2025-10-14 23:22:00 +0000
committersupahgreg <supahgreg@users.noreply.github.com>2025-10-14 23:23:01 +0000
commitf85559735b794682057e5b8d3854373f4d10dbb9 (patch)
treea4622a6d572deca239cb562f0f2d78ad6e2c1565 /js/CommonDialogs.js
parent6bd52b28c201c2afb43397c1413000d47563da0b (diff)
Remove 'App.byId()', which was essentially an alias of 'document.getElementById()'.
Diffstat (limited to 'js/CommonDialogs.js')
-rw-r--r--js/CommonDialogs.js2
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}` : ''}`;