File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11document . addEventListener ( 'DOMContentLoaded' , function ( ) {
22 const refundButtons = document . querySelectorAll ( '[data-refund]' ) ;
3- const refundAllButton = document . querySelector ( '[data-test- refund-all]' ) ;
4- const refundClearAllButton = document . querySelector ( '[data-test- clear-all]' ) ;
3+ const refundAllButton = document . querySelector ( '[data-refund-all]' ) ;
4+ const refundClearAllButton = document . querySelector ( '[data-clear-all]' ) ;
55 const refundInputs = document . querySelectorAll ( '[data-refund-input]' ) ;
66
77 refundButtons . forEach ( function ( button ) {
Original file line number Diff line number Diff line change 11{% set disable_button = hookable_metadata .context .disable_button %}
22
3- <button type =" submit" class =" dropdown-item" {{ sylius_test_html_attribute(' clear-all' ) }} {{ disable_button }}>
3+ <button data-refund-clear type =" submit" class =" dropdown-item" {{ sylius_test_html_attribute(' clear-all' ) }} {{ disable_button }}>
44 {{ ux_icon(' tabler:circle-check' , {' class' : ' icon dropdown-item-icon' }) }}
55 {{ ' sylius_refund.ui.clear_refunds' | trans }}
66</button >
Original file line number Diff line number Diff line change 11{% set disable_button = hookable_metadata .context .disable_button %}
22
3- <button type =" submit" class =" dropdown-item" {{ sylius_test_html_attribute(' refund-all' ) }} {{ disable_button }}>
3+ <button data-refund-all type =" submit" class =" dropdown-item" {{ sylius_test_html_attribute(' refund-all' ) }} {{ disable_button }}>
44 {{ ux_icon(' tabler:repeat' , {' class' : ' icon dropdown-item-icon' }) }}
55 {{ ' sylius_refund.ui.refund_all' | trans }}
66</button >
You can’t perform that action at this time.
0 commit comments