[freeside-commits] branch FREESIDE_3_BRANCH updated. eeca2ef2e54dbfdc88c83333176ecebbcfe87a42

Christopher Burger burgerc at freeside.biz
Fri Dec 15 10:55:04 PST 2017


The branch, FREESIDE_3_BRANCH has been updated
       via  eeca2ef2e54dbfdc88c83333176ecebbcfe87a42 (commit)
      from  597a7252c466097eb3a0f5abe7278e5b131cfee8 (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 eeca2ef2e54dbfdc88c83333176ecebbcfe87a42
Author: Christopher Burger <burgerc at freeside.biz>
Date:   Thu Dec 14 15:59:44 2017 -0500

    RT# 74845 - fixed report to allow downloading even if there are errors.

diff --git a/httemplate/search/477.html b/httemplate/search/477.html
index 2e9f9428e..84fd7fb9f 100644
--- a/httemplate/search/477.html
+++ b/httemplate/search/477.html
@@ -59,13 +59,12 @@ a.download {
   <caption>
     <span class="parttitle"><% $part_titles->{$partname} %></span>
 %   if ( $this_part->{num_errors} > 0 ) {
-%     # disable downloading while it contains errors
-    <span class="errortitle">
-      <% emt('This section contains [quant,_1,error].', $this_part->{num_errors}) %>
-    </span>
-%   } else {
-    <a class="download" href="<% $cgi->self_url %>">Download</a>
+%     # show error heading while it contains errors
+      <span class="errortitle">
+        <% emt('This section contains [quant,_1,error].', $this_part->{num_errors}) %>
+      </span>
 %   }
+    <a class="download" href="<% $cgi->self_url %>">Download</a>
   </caption>
 %   my $header = ".header_$partname";
 %   my $data = $this_part->{data};

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

Summary of changes:
 httemplate/search/477.html | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)




More information about the freeside-commits mailing list