Skip to content

Commit

Permalink
Merge pull request #21 from alexplusde/alxndr-w-patch-1
Browse files Browse the repository at this point in the history
fix setActionField method
  • Loading branch information
alxndr-w authored Nov 25, 2024
2 parents 8f90460 + 2c8bccb commit 793890f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ static function ($a) {
$return .= '<div class="hidden" id="action-pipe-' . $a['list']->getValue('id') . '"><code>' . $action . '</code></div>';
$return .= '</th></tr>';

$action = '$yform->setAction(\'mailer_profile\', array(' . $a['list']->getValue('id') . '));';
$action = '$yform->setActionField(\'mailer_profile\', array(' . $a['list']->getValue('id') . '));';
$return .= '<tr><td colspan="2">';
$return .= '<clipboard-copy for="action-php-' . $a['list']->getValue('id') . '" class="btn btn-copy btn-text"><i class="rex-icon fa-clone"></i> <code>' . $action . '</code></clipboard-copy>';
$return .= '<div class="hidden" id="action-php-' . $a['list']->getValue('id') . '"><code>' . $action . '</code></div>';
Expand Down

0 comments on commit 793890f

Please sign in to comment.