[Rt-commit] rt branch, 5.0.0-releng, updated. rt-5.0.0beta2-46-g0e4711fbea

? sunnavy sunnavy at bestpractical.com
Thu Jul 9 16:38:26 EDT 2020


The branch, 5.0.0-releng has been updated
       via  0e4711fbeafd1ee422a2a0f27b69be7c8e8862db (commit)
      from  fbdec61471403f4cfc51a507f1fb6d394123c40e (commit)

Summary of changes:
 share/html/Search/Elements/EditSearches | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 0e4711fbeafd1ee422a2a0f27b69be7c8e8862db
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Jul 10 04:30:49 2020 +0800

    Move closing div tags for modify saved searches into $can_modify=true block
    
    Otherwise if user doesn't have permission to modify, we would have
    mis-matched divs, which at least could break footer layout.

diff --git a/share/html/Search/Elements/EditSearches b/share/html/Search/Elements/EditSearches
index fb3f4b60da..1e6f56ee16 100644
--- a/share/html/Search/Elements/EditSearches
+++ b/share/html/Search/Elements/EditSearches
@@ -79,9 +79,9 @@
 % } elsif ( !$Object ) {
 <input type="submit" class="button btn btn-primary mr-1" id="SavedSearchSave" name="SavedSearchSave"   value="<%loc('Save')%>" />
 %}
-% }
     </div>
   </div>
+% }
 
   <hr />
   <div class="form-row">

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


More information about the rt-commit mailing list