Commit 924789ee authored by wsantell's avatar wsantell Committed by Tim Rohaly
Browse files

Issue #3265111 by wsantell: Notice reported when checkbox triggers AJAX

parent 5e5d871a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -325,7 +325,7 @@ class HoneypotService implements HoneypotServiceInterface {

    $triggering_element = $form_state->getTriggeringElement();
    // Don't do anything if the triggering element is a preview button.
    if ($triggering_element['#value'] == $this->t('Preview')) {
    if ($triggering_element['#value'] == (string) $this->t('Preview')) {
      return;
    }