Currently Drupal.behaviors.dialog.prepareDialogButtons only works on input elements or links styled as buttons. It does not account for the fact there may be button elements.


mglaman created an issue. See original summary.

mglaman’s picture

Status: Active » Needs review
696 bytes

This can easily reproduced by using a theme which adds input--submit.html.twig and replaces the input with button tag.

mglaman’s picture

Issue summary: View changes
218.67 KB

Attaching screenshot

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.