diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb
index 1340bdbb26..484db94c07 100644
--- a/app/views/layouts/_header.html.erb
+++ b/app/views/layouts/_header.html.erb
@@ -49,7 +49,6 @@
jQuery(document).data().bp.ontolobridge_ontologies =
<%=$NEW_TERM_REQUEST_ONTOLOGIES.to_json.html_safe%> ||
[];
- jQuery(document).data().bp.ont_viewer = {};
jQuery(document).data().bp.ont_chart = {};
@@ -60,4 +59,4 @@
<%= turbo_frame_tag :cookies_modal, src: cookies_path if cookies[:cookies_accepted].nil? && !(Rails.env.development? || Rails.env.test?) %>
-<%= render partial: 'layouts/notices' %>
\ No newline at end of file
+<%= render partial: 'layouts/notices' %>
diff --git a/app/views/layouts/_ontology_viewer.html.haml b/app/views/layouts/_ontology_viewer.html.haml
index e7f3010e16..95fe55300d 100644
--- a/app/views/layouts/_ontology_viewer.html.haml
+++ b/app/views/layouts/_ontology_viewer.html.haml
@@ -4,26 +4,6 @@
= render :partial =>'layouts/header'
%div#bd.bg-white.ontology-viewer
- :javascript
- // Ontology viewer vars
- jQuery(document).data().bp.ont_viewer = {};
- jQuery(document).data().bp.ont_viewer.ontology_id = jQuery(document).data().bp.ontology.acronym;
- jQuery(document).data().bp.ont_viewer.ontology_version_id = jQuery(document).data().bp.submission_latest.submissionId;
- jQuery(document).data().bp.ont_viewer.ontology_name = "#{@ontology.name}";
- jQuery(document).data().bp.ont_viewer.org_site = "#{$ORG_SITE}";
- jQuery(document).data().bp.ont_viewer.concept_id = "#{params[:conceptid] || (@concept ? @concept.id : 'root')}";
- jQuery(document).data().bp.ont_viewer.content_section = "#{sanitize(h(content_section))}";
- jQuery(document).data().bp.ont_viewer.concept_param = "#{"conceptid=\#{params[:conceptid]}" unless params[:conceptid].nil? || params[:conceptid].empty?}";
- jQuery(document).data().bp.ont_viewer.concept_name = "#{@concept.prefLabel unless @concept.nil?}";
- jQuery(document).data().bp.ont_viewer.metadata_only = "#{@ontology.summaryOnly}";
- jQuery(document).data().bp.ont_viewer.current_purl = "#{@current_purl}";
- jQuery(document).data().bp.ont_viewer.purl_prefix = "#{($PURL_ENABLED ? $PURL_PREFIX+"/"+@ontology.acronym : '')}";
- jQuery(document).data().bp.ont_viewer.concept_name_title = (jQuery(document).data().bp.ont_viewer.concept_name == "") ?
- "" : " - " + jQuery(document).data().bp.ont_viewer.concept_name;
-
-
-
-
= modal_frame_container
= render partial: 'concepts/perma_link_modal'
diff --git a/app/views/layouts/appliance.html.haml b/app/views/layouts/appliance.html.haml
index 3e306068c0..801d72caba 100644
--- a/app/views/layouts/appliance.html.haml
+++ b/app/views/layouts/appliance.html.haml
@@ -21,7 +21,6 @@
jQuery(document).data({bp: {config: #{bp_config_json.html_safe}, user: #{(session[:user] || {}).to_hash.to_json.html_safe}}});
jQuery(document).data().bp.ontology = #{@ontology.to_json.html_safe} || {};
jQuery(document).data().bp.submission_latest = #{@submission_latest.to_json.html_safe} || {};
- jQuery(document).data().bp.ont_viewer = {};
jQuery(document).data().bp.ont_chart = {};
%body{:class => "#{controller_name} #{action_name}"}
@@ -35,4 +34,3 @@
= yield
= render partial: "layouts/footer"
-
diff --git a/app/views/layouts/component_preview.html.erb b/app/views/layouts/component_preview.html.erb
index 429f630109..dc33be7e03 100644
--- a/app/views/layouts/component_preview.html.erb
+++ b/app/views/layouts/component_preview.html.erb
@@ -44,7 +44,6 @@
jQuery(document).data().bp.ontolobridge_ontologies =
<%=$NEW_TERM_REQUEST_ONTOLOGIES.to_json.html_safe%> ||
[];
- jQuery(document).data().bp.ont_viewer = {};
jQuery(document).data().bp.ont_chart = {};
@@ -57,4 +56,4 @@