and show the warning in the batch-fixed_format case, #20384
authorMark Wells <mark@freeside.biz>
Fri, 15 Aug 2014 02:48:28 +0000 (19:48 -0700)
committerMark Wells <mark@freeside.biz>
Fri, 15 Aug 2014 02:48:28 +0000 (19:48 -0700)
httemplate/search/elements/cust_pay_batch_top.html

index c502aa9..a773dd0 100644 (file)
@@ -12,6 +12,7 @@ function format_changed() {
     }
   );
 }
+<&| /elements/onload.js &>format_changed()</&>
 </script>
 % # Download batch
 % if ( $status eq 'O'
@@ -29,10 +30,10 @@ function format_changed() {
       <OPTION VALUE="<%$_%>"><% $download_formats{$_} %></OPTION>
 %     }
     </SELECT> 
-    <BR>
-    <DIV STYLE="color:#ff0000" ID="download_note"></DIV>
     <& .select_gateway &>
 %   }
+    <BR>
+    <DIV STYLE="color:#ff0000" ID="download_note"></DIV>
     <INPUT TYPE="submit" VALUE="Download">
 % } # end of download
 </FORM>