diff --git a/Block/Adminhtml/System/Config/Form/Field/MiscScript.php b/Block/Adminhtml/System/Config/Form/Field/MiscScript.php
index 5f5d646..81adbcb 100644
--- a/Block/Adminhtml/System/Config/Form/Field/MiscScript.php
+++ b/Block/Adminhtml/System/Config/Form/Field/MiscScript.php
@@ -91,7 +91,13 @@ public function getTemplateButtonList()
$html = '';
foreach ($this->helper->getTemplateVariableKey() as $key) {
- $html .= '';
+ $html .= sprintf(
+ '<%s style="%s" data-mage-init=\\\'%s\\\' type="button"> %s ',
+ 'button',
+ 'margin:3px;',
+ '{"checkoutSuccessMiscScript":{"textareaId":"<%- _id %>_scripts"}}',
+ $key
+ );
}
return $html;
@@ -146,9 +152,9 @@ public function renderCellTemplate($columnName)
if ($column['type'] == 'text') {
return '';
} elseif ($column['type'] == 'checkbox') {
return '';
} else {
return '