[Bps-public-commit] rt-extension-formtools branch dynamic-forms-from-config updated. 0.53-93-g5ef4046

BPS Git Server git at git.bestpractical.com
Thu Nov 2 05:04:52 UTC 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt-extension-formtools".

The branch, dynamic-forms-from-config has been updated
       via  5ef404606506d5650c58d1ec05bd7bd4c1bf1ac2 (commit)
      from  a1c76fb948f9dd554746a2daccb74b7160705e63 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5ef404606506d5650c58d1ec05bd7bd4c1bf1ac2
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Nov 2 01:01:24 2023 -0400

    Fix HR missing issue on display
    
    Unlike other HTML elements, HR doesn't have a modal to generate dynamic
    content, so we need to pre-set it accordingly.

diff --git a/html/Admin/FormTools/Modify.html b/html/Admin/FormTools/Modify.html
index e7eab12..aa4f579 100644
--- a/html/Admin/FormTools/Modify.html
+++ b/html/Admin/FormTools/Modify.html
@@ -15,7 +15,7 @@
       </div>
       <div class="d-block text-center">
 % foreach my $item ( @html_components ) {
-        <div id="formtools-element-<% $item %>" class="formtools-element" draggable="true" ondragstart="formTools.dragstart(event);" ondragend="formTools.dragend(event);" data-value="<% JSON({ type => 'raw_html', $item eq 'hr' ? ( wrapper => 'hr' ) : () }) %>">
+        <div id="formtools-element-<% $item %>" class="formtools-element" draggable="true" ondragstart="formTools.dragstart(event);" ondragend="formTools.dragend(event);" data-value="<% JSON({ type => 'raw_html', $item eq 'hr' ? ( wrapper => 'hr', html => "<$item>" ) : () }) %>">
           <p class="formtools-element-placeholder m-1 p-2 border rounded"><% loc('Place here') %></p>
           <p class="m-1 p-2 border rounded">
             <span class="badge badge-primary"><% $item eq 'html' ? 'HTML' : uc($item) %></span>

-----------------------------------------------------------------------

Summary of changes:
 html/Admin/FormTools/Modify.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
rt-extension-formtools


More information about the Bps-public-commit mailing list