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 ""
"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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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

View File

@ -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