Skip to content

Commit

Permalink
Updates to 6.0.25
Browse files Browse the repository at this point in the history
  • Loading branch information
Woo committed Jun 12, 2024
1 parent 88c4f44 commit f91eb91
Show file tree
Hide file tree
Showing 75 changed files with 1,586 additions and 978 deletions.
2 changes: 1 addition & 1 deletion admin/assets/build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wc-components', 'wc-tracks', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '33766721a6b446ffb216');
<?php return array('dependencies' => array('lodash', 'wc-components', 'wc-tracks', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'c5c76919fe63962a9475');
2 changes: 1 addition & 1 deletion admin/assets/build/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion admin/assets/js/min/variables.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion admin/assets/js/min/variables.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 20 additions & 1 deletion admin/assets/js/variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,26 @@ jQuery( function ( $ ) {
init_clipboard() {
const clipboard = new ClipboardJS( '.aw-clipboard-btn', {
text() {
return $( '#aw_workflow_variable_preview_field' ).text();
let text = $(
'#aw_workflow_variable_preview_field'
).text();

$( '.aw-workflow-variable-parameter' ).each( function (
i,
field
) {
if (
$( field ).prop( 'required' ) &&
! $( field ).get( 0 ).checkValidity()
) {
$( field ).get( 0 ).reportValidity();
text = false;

return false;
}
} );

return text;
},
} );

Expand Down
Loading

0 comments on commit f91eb91

Please sign in to comment.