πŸ‡©πŸ‡ͺGermany @eric heydrich

Account created on 14 May 2015, over 9 years ago
#

Recent comments

πŸ‡©πŸ‡ͺGermany eric heydrich

Habe ein paar Korrekturen hinzugefΓΌgt.

πŸ‡©πŸ‡ͺGermany eric heydrich

Habe ein paar Anpassungen gemacht, hauptsΓ€chlich kleinere Rechtschreibkorrekturen.

πŸ‡©πŸ‡ͺGermany eric heydrich

Hi, I tested the patch. The following problem is coming up:

If no reviews exist at the configured location, the block produces an error. The page shows an error (WSOD). Even editing the page afterwards isn't possible any more.

πŸ‡©πŸ‡ͺGermany eric heydrich
<div class="js-office-hours-operations-wrapper">
<a href="/" class="office-hours-link" data-drupal-selector="edit-field-oeffnungszeiten-value-0-operations-data-add" id="edit-field-oeffnungszeiten-value-0-operations-data-add--3UzSfpb_cCo">Zeitfenster hinzufΓΌgen</a>
<a href="/" class="office-hours-link" data-drupal-selector="edit-field-oeffnungszeiten-value-0-operations-data-clear" id="edit-field-oeffnungszeiten-value-0-operations-data-clear--WWHDRSAgpsE">Entfernen</a>
<a href="/" class="office-hours-link" data-drupal-selector="edit-field-oeffnungszeiten-value-0-operations-data-copy" id="edit-field-oeffnungszeiten-value-0-operations-data-copy--rH7lOJigiz0">Letzten Tag kopieren</a> 
</div>

In the office_hours.js the ID has to end on add, copy or clear. In my example HTML, there is a generated string at the end of the ID. Maybe this is preventing the JS on firing.

πŸ‡©πŸ‡ͺGermany eric heydrich

Hi,

it haven't worked before in paragraphs, so I hoped for the 1.17 Update, but it didn't help. In node form, it works without problems.

πŸ‡©πŸ‡ͺGermany eric heydrich

Thank you @jurgenhaas. It works now.

Production build 0.71.5 2024