We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c163aa2 + c32f1dc commit f14b8ccCopy full SHA for f14b8cc
app/code/Magento/EncryptionKey/Block/Adminhtml/Crypt/Key/Form.php
@@ -45,7 +45,7 @@ protected function _prepareForm()
45
'name' => 'generate_random',
46
'label' => __('Auto-generate a Key'),
47
'options' => [0 => __('No'), 1 => __('Yes')],
48
- 'onclick' => "var cryptKey = jQuery('#crypt_key'); var cryptKeyBlock = cryptKey.parent().parent(); ".
+ 'onchange' => "var cryptKey = jQuery('#crypt_key'); var cryptKeyBlock = cryptKey.parent().parent(); ".
49
"cryptKey.prop('disabled', this.value === '1'); " .
50
"if (cryptKey.prop('disabled')) { cryptKeyBlock.hide() } " .
51
"else { cryptKeyBlock.show() }",
0 commit comments