Skip to content

Commit

Permalink
Merge pull request Elgg#14796 from jdalsem/6.1-fixes
Browse files Browse the repository at this point in the history
form fixes
  • Loading branch information
jdalsem authored Feb 24, 2025
2 parents 22e38af + 3d5ccd3 commit e5d3d14
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
12 changes: 5 additions & 7 deletions mod/blog/views/default/forms/blog/save.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,11 @@
echo elgg_view_field($field);
}

if ($blog instanceof \ElggBlog) {
echo elgg_view_field([
'#type' => 'hidden',
'name' => 'guid',
'value' => $blog->guid,
]);
}
echo elgg_view_field([
'#type' => 'hidden',
'name' => 'guid',
'value' => $blog?->guid,
]);

echo elgg_view_field([
'#type' => 'container_guid',
Expand Down
10 changes: 7 additions & 3 deletions views/default/input/tags.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,13 @@
}
.tagify + input,
.tagify + textarea {
position: absolute !important;
left: -9999em !important;
transform: scale(0) !important;
display: block !important;
order: 1;
resize: none;
border: 0 !important;
height: 1px !important;
padding: 0 !important;
margin: -1px 0 0 0 !important;
}
.tagify__tag {
display: inline-flex;
Expand Down

0 comments on commit e5d3d14

Please sign in to comment.