]> source.dussan.org Git - sonarqube.git/commitdiff
Help ITs by providing an incremental value on the page loaded through ajax
authorDavid Gageot <david@gageot.net>
Thu, 11 Oct 2012 11:12:16 +0000 (13:12 +0200)
committerDavid Gageot <david@gageot.net>
Thu, 11 Oct 2012 11:12:16 +0000 (13:12 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb

index 56646fcaca3ead6b7434cbe0542eef7188648a60..7ca186d53043d1c0d3d7a46322d0f18f314441f8 100644 (file)
@@ -58,6 +58,7 @@
       </tbody>
     </table>
     <div style="padding-left: 16px;">
+      <%= hidden_field_tag('page_version', (params[:page_version] || 0).to_i + 1) -%>
       <%= submit_tag(message('settings.save_category', :params => [category_name(@category)]), :id => 'submit_settings') -%>
       <img src="<%= ApplicationController.root_context -%>/images/loading.gif" id="loading_settings" style="display:none;">
     </div>