[Rt-commit] rt branch, master, updated. rt-4.1.19-5-g09c6c0f

Thomas Sibley trs at bestpractical.com
Thu Aug 8 15:43:18 EDT 2013


The branch, master has been updated
       via  09c6c0fe6ed6fb98034151eeb17b5ff2390195cd (commit)
      from  a13250c7756d67901e6588d41bacad5302887728 (commit)

Summary of changes:
 share/html/Elements/ListActions | 2 ++
 1 file changed, 2 insertions(+)

- Log -----------------------------------------------------------------
commit 09c6c0fe6ed6fb98034151eeb17b5ff2390195cd
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Aug 8 11:13:08 2013 -0700

    Don't show an empty results box if the only "results" are raw HTML
    
    This fixes a minor display regression introduced by f84d637.

diff --git a/share/html/Elements/ListActions b/share/html/Elements/ListActions
index 014002a..e066595 100644
--- a/share/html/Elements/ListActions
+++ b/share/html/Elements/ListActions
@@ -46,6 +46,7 @@
 %#
 %# END BPS TAGGED BLOCK }}}
 % $m->out($$_) for grep {ref $_} @actions;
+% if (grep {not ref $_} @actions) {
 <div class="results">
 <&| /Widgets/TitleBox, title => loc('Results'), %{$titlebox || {}} &>
   <ul class="action-results">
@@ -55,6 +56,7 @@
   </ul>
 </&>
 </div>
+% }
 <%init>
 
 # backward compatibility, don't use array in new code, but use keyed hash

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


More information about the Rt-commit mailing list