Skip to content

Commit

Permalink
Merge branch 'release_1.82.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
aploshay committed May 18, 2018
2 parents 4ba409d + 041add7 commit 783a4d8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/search/show.xls.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
</Table>
</Worksheet>
<% end %>
<% @media_format = po.format %>
<%# Excel worksheet names exclude some characters and have 31-char max %>
<% @media_format = po.format.gsub(/[?:*\/\\\[\]]/, '_')[0,31] %>
<Worksheet ss:Name="<%= @media_format %>">
<Table>
<% @metadata_headers = [] %>
Expand Down
4 changes: 4 additions & 0 deletions app/views/shipments/reload.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@
</div>
</div>
</div>
<script type="text/javascript">
//set barcode focus, only if no warning div content was set
if (!$.trim($("div.warning").html())) { $("#mdpi_barcode").focus() };
</script>
4 changes: 4 additions & 0 deletions app/views/shipments/unload.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@
</div>
</div>
</div>
<script type="text/javascript">
//set barcode focus, only if no warning div content was set
if (!$.trim($("div.warning").html())) { $("#mdpi_barcode").focus() };
</script>

0 comments on commit 783a4d8

Please sign in to comment.