[Bps-public-commit] rt-extension-formtools branch master updated. 1.05-9-g2693f9b

BPS Git Server git at git.bestpractical.com
Thu Feb 22 20:29:13 UTC 2024


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, master has been updated
       via  2693f9b622c1cfff59013ac432f0d4808ac8a175 (commit)
       via  8a4b00c0189471f64033ad8d75e3740382c69ba0 (commit)
      from  90c9f460d3cf51e145721deaf4310cf8ee66a4fd (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 2693f9b622c1cfff59013ac432f0d4808ac8a175
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Feb 22 15:17:11 2024 -0500

    Prepare version 1.07

diff --git a/Changes b/Changes
index 253b386..3ac82da 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 Revision history for RT-Extension-FormTools
 
+1.07 2024-02-22
+ - Document ticket variables available for HTML blocks
+ - Fix uninitialized warnings for modify page
+
 1.06 2024-02-22
  - Added wide character support
  - Remove duplicate values of hidden inputs to avoid possible double-encoding of content
diff --git a/META.yml b/META.yml
index e86cc37..fd0aeea 100644
--- a/META.yml
+++ b/META.yml
@@ -25,6 +25,6 @@ requires:
 resources:
   license: http://opensource.org/licenses/gpl-license.php
   repository: https://github.com/bestpractical/rt-extension-formtools
-version: '1.06'
+version: '1.07'
 x_module_install_rtx_version: '0.43'
 x_requires_rt: 5.0.0
diff --git a/lib/RT/Extension/FormTools.pm b/lib/RT/Extension/FormTools.pm
index 01063b5..3f522b2 100644
--- a/lib/RT/Extension/FormTools.pm
+++ b/lib/RT/Extension/FormTools.pm
@@ -3,7 +3,7 @@ use strict;
 
 package RT::Extension::FormTools;
 
-our $VERSION = '1.06';
+our $VERSION = '1.07';
 
 RT->AddStyleSheets('rt-extension-formtools.css');
 RT->AddJavaScript('rt-extension-formtools.js');

commit 8a4b00c0189471f64033ad8d75e3740382c69ba0
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Feb 22 15:26:24 2024 -0500

    Fix uninitialized warnings for modify page

diff --git a/html/Admin/FormTools/Modify.html b/html/Admin/FormTools/Modify.html
index 050d476..89b0433 100644
--- a/html/Admin/FormTools/Modify.html
+++ b/html/Admin/FormTools/Modify.html
@@ -420,7 +420,7 @@
 %         $i = 0;
 %         for my $item ( grep { $_->{type} ne 'hidden' || $_->{'input-name'} ne 'create_ticket' } @{$form->{'formtools-pages'}{$page_name}{content} || []} ) {
             <div class="modal fade formtools-element-modal" id="formtools-element-<% $form_page_id{$page_name} %>-<% $i %>-modal" tabindex="-1" role="dialog" data-type="<% $item->{type} %>" data-name="<% $item->{arguments} && $item->{arguments}{name} ? $item->{arguments}{name} : '' %>">
-              <div class="modal-dialog <% $item->{type} eq 'component' && %dependent_custom_fields && !RT::Extension::FormTools::is_core_field($item->{arguments}{name}) ? 'modal-lg' : '' %>" role="document">
+              <div class="modal-dialog <% $item->{type} eq 'component' && $item->{comp_name} ne 'ShowChoices' && %dependent_custom_fields && !RT::Extension::FormTools::is_core_field($item->{arguments}{name}) ? 'modal-lg' : '' %>" role="document">
                 <div class="modal-content">
                   <form class="formtools-element-form">
                     <div class="modal-header">

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

Summary of changes:
 Changes                          | 4 ++++
 META.yml                         | 2 +-
 html/Admin/FormTools/Modify.html | 2 +-
 lib/RT/Extension/FormTools.pm    | 2 +-
 4 files changed, 7 insertions(+), 3 deletions(-)


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


More information about the Bps-public-commit mailing list