From c6d736b4570557a666f3508477b295df16b2e5e3 Mon Sep 17 00:00:00 2001 From: stephenbroyer Date: Fri, 20 Sep 2013 14:15:01 +0200 Subject: [PATCH] SONAR-4663 Remove prototypejs from Resource Viewer --- .../resource/_duplications_source_snippet.html.erb | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_duplications_source_snippet.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_duplications_source_snippet.html.erb index 534f1119c26..1bd6b69c5fa 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_duplications_source_snippet.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_duplications_source_snippet.html.erb @@ -38,10 +38,16 @@ included_to_line = from_line + ResourceHelper::DUPLICATION_SNIPPET_DEFAULT_NB_OF_LINES - 1 end %> - <%= link_to_remote link_text, - :url => {:action => :show_duplication_snippet, :params => {:id => resource.id, :original_resource_id => original_resource.id, :from_line => from_line, :to_line => included_to_line, :lines_count => lines_count, :group_index => group_index}}, - :update => "source-#{group_index}", - :before => "$('expanding-#{group_index}').addClassName('loading')" -%> + + <%= link_text -%>

<% end %> -- 2.39.5