Skip to content

Commit

Permalink
43025: button position
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Dec 3, 2024
1 parent 6b52c9a commit 6aeed3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ILIAS/COPage/Editor/Server/class.UIWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public function getRenderedAdapterForm(

$html =
substr($html, 0, $footer_pos) .
preg_replace("#\\<" . $tag . "(.*)/" . $tag . ">#iUs", $button_html, substr($html, $footer_pos), 1);
preg_replace("#\\<" . $tag . "([^>]*)btn-default(.*)/" . $tag . ">#iUs", $button_html, substr($html, $footer_pos), 1);

if ($id !== "") {
$html = str_replace("<form ", "<form id='$id' ", $html);
Expand Down

0 comments on commit 6aeed3e

Please sign in to comment.