]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4674 Remove prototypejs from project configuration pages
authorstephenbroyer <stephen.broyer@sonarsource.com>
Tue, 24 Sep 2013 13:15:16 +0000 (15:15 +0200)
committerstephenbroyer <stephen.broyer@sonarsource.com>
Tue, 24 Sep 2013 15:42:13 +0000 (17:42 +0200)
 (~/views/project/widgets/issues/_issues_list.html.erb  : paginate)

sonar-server/src/main/webapp/WEB-INF/app/views/project/widgets/issues/_issues_list.html.erb

index 1f0187167fe453c9e58606e3d93a431f240e9654..4d6d06eca8e96beb239eb7f9fcf2e9799d3e2fa0 100644 (file)
@@ -69,9 +69,9 @@
     %>
     <%= paginate_java(paging, :colspan => 3, :id => "issue-filter-foot-#{widget_id}", :include_loading_icon => true,
                       :url_results => url_for(search_options.merge({:controller => 'issues', :action => 'search' }).except('pageSize', 'pageIndex', 'table_limit', 'widget_id')) ) { |label, page_id|
-      link_to_remote(label,
-                     :update => "issues-widget-#{widget_id}",
-                     :url => link_params.merge({:pageIndex => page_id}))
+<<EOF
+<a href="#" onclick="$j.ajax({ url:'#{url_for(link_params.merge({:pageIndex => page_id}))}',   type:'post', success:function(response){$j('#issues-widget-#{widget_id}').html(response);}}); return false;">#{label}</a>
+EOF
     } -%>
   </table>