Skip to content

Commit

Permalink
Disable htmx boost requests for AboutMe page as changes might affect …
Browse files Browse the repository at this point in the history
…menu

Lang is an obvious example.
  • Loading branch information
sunnavy committed Sep 6, 2024
1 parent f573687 commit c976c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/html/Prefs/Elements/EditAboutMe
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
<form name="EditAboutMe" action="" method="post" enctype="multipart/form-data">
<form name="EditAboutMe" action="" method="post" enctype="multipart/form-data" <% $UserObj->Id == $session{CurrentUser}->Id ? 'hx-boost="false"' : '' |n %>>
<input type="hidden" class="hidden" name="id" value="<%$UserObj->Id%>" />

<div class="row mt-2">
Expand Down

0 comments on commit c976c5e

Please sign in to comment.