Small label printers fixes [SCI-6021][SCI-6024] (#3502)

This commit is contained in:
aignatov-bio 2021-08-23 13:58:16 +02:00 committed by GitHub
parent 546b108bd2
commit 7621deeb2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 1 deletions

View file

@ -101,6 +101,7 @@ var RepositoryDatatable = (function(global) {
$('th').addClass('disable-click');
$('.repository-row-selector').prop('disabled', true);
$('.dataTables_filter input').prop('disabled', true);
$('#toolbarPrintLabel').hide();
}
$('#toolbarPrintLabel').data('rows', JSON.stringify(rowsSelected));

View file

@ -7,6 +7,8 @@
<meta name="max-file-size" content="<%= Rails.configuration.x.file_max_size_mb %>">
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= javascript_pack_tag 'application' %>
<% if MarvinJsService.enabled? && ENV['MARVINJS_API_KEY'] %>
<script src="https://marvinjs.chemicalize.com/v1/<%= ENV['MARVINJS_API_KEY'] %>/client-settings.js"></script>

View file

@ -178,7 +178,6 @@
<%= javascript_pack_tag 'emoji_button' %>
<%= javascript_pack_tag 'pdfjs/pdf_js' %>
<%= stylesheet_pack_tag 'pdfjs/pdf_js_styles' %>
<%= javascript_pack_tag 'custom/bwipjs' %>
<script type="text/javascript" charset="utf-8">
var formatJS = "<%= datetime_picker_format_date_only %>"