From 8969a13eb7872857cd81a4fa847677c226aa8a72 Mon Sep 17 00:00:00 2001 From: gebele Date: Wed, 11 Mar 2015 16:49:24 +0100 Subject: marked descriptor links;resize body if many models;fixed progress status --- views/neighbors.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/neighbors.haml') diff --git a/views/neighbors.haml b/views/neighbors.haml index 33ea688..86d1906 100644 --- a/views/neighbors.haml +++ b/views/neighbors.haml @@ -113,7 +113,7 @@ %a{:href => to("/prediction/#{CGI.escape(@model_uri)}/#{@type}/#{CGI.escape(neighbor_compound.uri)}/significant_fragments"), :id=>"link#{count_rs}#{count}sf", :target=>"details"} Significant fragments > - if @type =~ /regression/i - if p.data_entries[count][3] != nil - %a{:href => to("/prediction/#{CGI.escape(@model_uri)}/#{@type}/#{CGI.escape(neighbor_compound.uri)}/significant_fragments"), :id=>"link#{count_rs}#{count}sf", :target=>"details"} Descriptors + %a{:href => to("/prediction/#{CGI.escape(@model_uri)}/#{@type}/#{CGI.escape(neighbor_compound.uri)}/significant_fragments"), :id=>"link#{count_rs}#{count}sf", :target=>"details"} Descriptors > :javascript $(function() { $("a#link#{count_rs}#{count}").on('click', function(e) { -- cgit v1.2.3