Skip to content

Commit f91eb91

Browse files
author
Woo
committed
Updates to 6.0.25
1 parent 88c4f44 commit f91eb91

File tree

75 files changed

+1586
-978
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+1586
-978
lines changed

admin/assets/build/index.asset.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +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');
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' => 'c5c76919fe63962a9475');

admin/assets/build/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

admin/assets/js/min/variables.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

admin/assets/js/min/variables.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

admin/assets/js/variables.js

+20-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,26 @@ jQuery( function ( $ ) {
3535
init_clipboard() {
3636
const clipboard = new ClipboardJS( '.aw-clipboard-btn', {
3737
text() {
38-
return $( '#aw_workflow_variable_preview_field' ).text();
38+
let text = $(
39+
'#aw_workflow_variable_preview_field'
40+
).text();
41+
42+
$( '.aw-workflow-variable-parameter' ).each( function (
43+
i,
44+
field
45+
) {
46+
if (
47+
$( field ).prop( 'required' ) &&
48+
! $( field ).get( 0 ).checkValidity()
49+
) {
50+
$( field ).get( 0 ).reportValidity();
51+
text = false;
52+
53+
return false;
54+
}
55+
} );
56+
57+
return text;
3958
},
4059
} );
4160

0 commit comments

Comments
 (0)