]> source.dussan.org Git - sonarqube.git/commitdiff
Reset Rails default cycle between widgets.
authorSimon Brandhof <simon.brandhof@gmail.com>
Wed, 23 May 2012 16:15:38 +0000 (18:15 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Wed, 23 May 2012 16:16:10 +0000 (18:16 +0200)
It allows for example that tables in different widgets always start with a gray row.

sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/index.html.erb

index 2c62c6650aff90b43a969d2086b3803481fe3a62..554737b88acbe88e07e1c5c011d2ed26376849f8 100644 (file)
@@ -15,6 +15,7 @@
           %>
               <%= render :partial => 'widget', :locals => {:widget => widget} %>
           <%
+               reset_cycle
              end
              end
           %>