aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-10-11 13:12:16 +0200
committerDavid Gageot <david@gageot.net>2012-10-11 13:12:16 +0200
commitec050ae02ab8afd1a58fdcbddda4cafc905f10ff (patch)
tree46c56528f42f4f12437a5d7fef3984ecb872e5fb
parent7c3bda2872be16a28df497a3565063d1a97ca929 (diff)
downloadsonarqube-ec050ae02ab8afd1a58fdcbddda4cafc905f10ff.tar.gz
sonarqube-ec050ae02ab8afd1a58fdcbddda4cafc905f10ff.zip
Help ITs by providing an incremental value on the page loaded through ajax
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb
index 56646fcaca3..7ca186d5304 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb
@@ -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>