diff --git a/app/views/protocols/import_export/_import_json_protocol_p_desc.html.erb b/app/views/protocols/import_export/_import_json_protocol_p_desc.html.erb index 6ecdd6549..2ad86270e 100644 --- a/app/views/protocols/import_export/_import_json_protocol_p_desc.html.erb +++ b/app/views/protocols/import_export/_import_json_protocol_p_desc.html.erb @@ -90,6 +90,7 @@ formulas: true, readOnly: true }); + <% table_count += 1 %> <% end %> diff --git a/app/views/protocols/import_export/_import_json_protocol_s_desc.html.erb b/app/views/protocols/import_export/_import_json_protocol_s_desc.html.erb index 54895451b..9b79e4ba3 100644 --- a/app/views/protocols/import_export/_import_json_protocol_s_desc.html.erb +++ b/app/views/protocols/import_export/_import_json_protocol_s_desc.html.erb @@ -1,5 +1,6 @@ <% whitelist_simple=['1','6','17'] %> <% whitelist_complex=['8','9','15','18','19','20']%> +<% step_table_elements_array = [] %> <% json_object['steps'].each_with_index do |step,counter_orig| %> <% counter = counter_orig + 2 %>