[Bps-public-commit] rt-extension-repeatticket branch master updated. 2.01-1-g3e6eae0

BPS Git Server git at git.bestpractical.com
Tue Sep 26 14:58:46 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-repeatticket".

The branch, master has been updated
       via  3e6eae00ffdd2c3bbdcd4304fafd8229c9209487 (commit)
      from  fe5c8000681b9a8afd8ceabc622958ff18759f03 (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 3e6eae00ffdd2c3bbdcd4304fafd8229c9209487
Author: Brad Embree <brad at bestpractical.com>
Date:   Tue Sep 26 07:55:34 2023 -0700

    Fix display issue with selectpicker controls
    
    The bootstrap selectpicker controls were displaying underneath other
    controls on the page.
    
    Gave the divs containing the selectpicker controls a new CSS class
    z-index-auto that sets the z-index to auto which fixes the display
    issue for both pop up and pop down cases.

diff --git a/html/Ticket/Elements/EditRecurrence b/html/Ticket/Elements/EditRecurrence
index e71f23b..52b618e 100644
--- a/html/Ticket/Elements/EditRecurrence
+++ b/html/Ticket/Elements/EditRecurrence
@@ -190,7 +190,7 @@ jQuery( function () {
             <label class="custom-control-label has-text-input" for="<% $InputIdPrefix %>repeat-details-monthly-day"><&|/l_unsafe, $input->("repeat-details-monthly-day-day"), $input->("repeat-details-monthly-day-month") &>Day [_1] of every [_2] month(s)</&></label>
           </div>
 
-          <div class="mt-1 custom-control custom-radio">
+          <div class="mt-1 custom-control custom-radio z-index-auto">
             <input type="radio" id="<% $InputIdPrefix %>repeat-details-monthly-week" name="repeat-details-monthly" class="custom-control-input" value="week" <% ($ARGSRef->{'repeat-details-monthly'} || '') eq 'week' ? ' checked="checked"': '' |n %>>
             <label class="custom-control-label has-text-input" for="<% $InputIdPrefix %>repeat-details-monthly-week"><&|/l_unsafe, $nth->("repeat-details-monthly-week-number"), $wday->("repeat-details-monthly-week-week"), $input->("repeat-details-monthly-week-month") &>The [_1] [_2] of every [_3] month(s)</&></label>
           </div>
@@ -204,12 +204,12 @@ jQuery( function () {
 
         <div class="mt-3 repeat-details repeat-details-yearly <% ($ARGSRef->{'repeat-type'} || '' ) eq 'yearly' ? '' : 'hidden' %>">
 
-          <div class="custom-control custom-radio">
+          <div class="custom-control custom-radio z-index-auto">
             <input type="radio" id="<% $InputIdPrefix %>repeat-details-yearly-day" name="repeat-details-yearly" class="custom-control-input" value="day" <% ($ARGSRef->{'repeat-details-yearly'} || '') eq 'day' ? ' checked="checked"': '' |n %>>
             <label class="custom-control-label has-text-input" for="<% $InputIdPrefix %>repeat-details-yearly-day"><&|/l_unsafe, $month->("repeat-details-yearly-day-month"), $input->("repeat-details-yearly-day-day") &>Every [_1] [_2]</&></label>
           </div>
 
-          <div class="mt-1 custom-control custom-radio">
+          <div class="mt-1 custom-control custom-radio z-index-auto">
             <input type="radio" id="<% $InputIdPrefix %>repeat-details-yearly-week" name="repeat-details-yearly" class="custom-control-input" value="week" <% ($ARGSRef->{'repeat-details-yearly'} || '') eq 'week' ? ' checked="checked"': '' |n %>>
             <label class="custom-control-label has-text-input" for="<% $InputIdPrefix %>repeat-details-yearly-week"><&|/l_unsafe, $nth->("repeat-details-yearly-week-number"), $wday->("repeat-details-yearly-week-week"), $month->("repeat-details-yearly-week-month") &>The [_1] [_2] of [_3]</&></label>
           </div>
diff --git a/static/css/repeat-ticket.css b/static/css/repeat-ticket.css
index d964262..115258b 100644
--- a/static/css/repeat-ticket.css
+++ b/static/css/repeat-ticket.css
@@ -19,3 +19,7 @@
 .repeat .bootstrap-select > .dropdown-toggle {
   width: auto;
 }
+
+.z-index-auto {
+  z-index: auto;
+}

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

Summary of changes:
 html/Ticket/Elements/EditRecurrence | 6 +++---
 static/css/repeat-ticket.css        | 4 ++++
 2 files changed, 7 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
rt-extension-repeatticket


More information about the Bps-public-commit mailing list