Using the payment_webform module, when Drupal.PymentreferenceRefreshButtons is triggered on webforms if the payment reference element is currently hidden when it is reloaded it will no longer be hidden.

It would be good to only refresh the buttons if the payment reference element if refers to is visible.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

LiamPower created an issue. See original summary.

LiamPower’s picture

This patch checks to make sure the parent element is visible because the input that is being checked is not visible.

LiamPower’s picture

LiamPower’s picture

Issue summary: View changes

Status: Needs review » Needs work

The last submitted patch, 2: 2857347-2.patch, failed testing.