changes in case of code-review

This commit is contained in:
Jakobus Schürz 2023-03-24 08:56:30 +01:00
parent 95e1a43814
commit a3aa34c21d
2 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 2023.03-rc\n" "Project-Id-Version: 2023.03-rc\n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -686,7 +686,7 @@ msgid "Sharing not successfull"
msgstr "" msgstr ""
#: src/App/Page.php:259 #: src/App/Page.php:259
msgid "Attendation not successfull" msgid "Attendance unsuccessful"
msgstr "" msgstr ""
#: src/App/Page.php:260 #: src/App/Page.php:260

View File

@ -813,9 +813,9 @@ function doActivityItemAction(ident, verb, un) {
if (data.status == 'ok') { if (data.status == 'ok') {
if (verb.indexOf('attend') === 0) { if (verb.indexOf('attend') === 0) {
$('button[id^=attend][id$=' + ident.toString() + ']').removeClass('active') $('button[id^=attend][id$=' + ident.toString() + ']').removeClass('active')
$('button#attendyes-' + ident.toString()).attr('onclick', 'javascript:doActivityItemAction(' + ident +', "attendyes" )'); $('button#attendyes-' + ident.toString()).attr('onclick', 'javascript:doActivityItemAction(' + ident +', "attendyes")');
$('button#attendno-' + ident.toString()).attr('onclick', 'javascript:doActivityItemAction(' + ident +', "attendno" )'); $('button#attendno-' + ident.toString()).attr('onclick', 'javascript:doActivityItemAction(' + ident +', "attendno")');
$('button#attendmaybe-' + ident.toString()).attr('onclick', 'javascript:doActivityItemAction(' + ident +', "attendmaybe" )'); $('button#attendmaybe-' + ident.toString()).attr('onclick', 'javascript:doActivityItemAction(' + ident +', "attendmaybe")');
} }
if (data.verb == 'un' + verb) { if (data.verb == 'un' + verb) {
// like/dislike buttons // like/dislike buttons