From a3aa34c21d152258efcefb69caf6f6e07735d64d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jakobus=20Sch=C3=BCrz?= Date: Fri, 24 Mar 2023 08:56:30 +0100 Subject: [PATCH] changes in case of code-review --- view/lang/C/messages.po | 4 ++-- view/theme/frio/js/theme.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/view/lang/C/messages.po b/view/lang/C/messages.po index e97f697e66..ad7013564a 100644 --- a/view/lang/C/messages.po +++ b/view/lang/C/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 2023.03-rc\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-23 23:12+0100\n" +"POT-Creation-Date: 2023-03-24 08:56+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -686,7 +686,7 @@ msgid "Sharing not successfull" msgstr "" #: src/App/Page.php:259 -msgid "Attendation not successfull" +msgid "Attendance unsuccessful" msgstr "" #: src/App/Page.php:260 diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index 9c9cf02863..b4b8e5dc34 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -813,9 +813,9 @@ function doActivityItemAction(ident, verb, un) { if (data.status == 'ok') { if (verb.indexOf('attend') === 0) { $('button[id^=attend][id$=' + ident.toString() + ']').removeClass('active') - $('button#attendyes-' + ident.toString()).attr('onclick', 'javascript:doActivityItemAction(' + ident +', "attendyes" )'); - $('button#attendno-' + ident.toString()).attr('onclick', 'javascript:doActivityItemAction(' + ident +', "attendno" )'); - $('button#attendmaybe-' + ident.toString()).attr('onclick', 'javascript:doActivityItemAction(' + ident +', "attendmaybe" )'); + $('button#attendyes-' + ident.toString()).attr('onclick', 'javascript:doActivityItemAction(' + ident +', "attendyes")'); + $('button#attendno-' + ident.toString()).attr('onclick', 'javascript:doActivityItemAction(' + ident +', "attendno")'); + $('button#attendmaybe-' + ident.toString()).attr('onclick', 'javascript:doActivityItemAction(' + ident +', "attendmaybe")'); } if (data.verb == 'un' + verb) { // like/dislike buttons -- 2.39.5