From 9f17117a1300dc041ea3da932e78b333ef70360f Mon Sep 17 00:00:00 2001 From: Marijn0 <168113859+Marijn0@users.noreply.github.com> Date: Sun, 30 Jun 2024 14:34:54 +0200 Subject: [PATCH] Fix ok button for non-English language (#3020) The ok button ID was accidentally translated, so that it failed with any language where it was not translated with "ok". --- motioneye/static/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motioneye/static/js/main.js b/motioneye/static/js/main.js index adb6d54c7..d62eb9e6c 100644 --- a/motioneye/static/js/main.js +++ b/motioneye/static/js/main.js @@ -3552,7 +3552,7 @@ function getCameraIds() { function runAlertDialog(message, onOk, options) { var params = { title: message, - buttons: i18n.gettext('bone'), + buttons: 'ok', onOk: onOk };