summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main
diff options
context:
space:
mode:
authorstephenbroyer <stephen.broyer@sonarsource.com>2013-09-25 12:25:55 +0200
committerstephenbroyer <stephen.broyer@sonarsource.com>2013-09-25 12:36:48 +0200
commitaaa877995329e7418e331b3696b7a4612876d619 (patch)
treea31bbec159f8bd61723d0df6cd1fa693266571f2 /sonar-server/src/main
parent3a2ff33395eaad9eb76ee8778ff891b5bac2eedc (diff)
downloadsonarqube-aaa877995329e7418e331b3696b7a4612876d619.tar.gz
sonarqube-aaa877995329e7418e331b3696b7a4612876d619.zip
SONAR-4670 Remove prototypejs from remaining services
(set up page)
Diffstat (limited to 'sonar-server/src/main')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/setup/form.html.erb12
1 files changed, 9 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/setup/form.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/setup/form.html.erb
index 51052b9e739..6a5286dba59 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/setup/form.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/setup/form.html.erb
@@ -8,7 +8,13 @@
<li><b>Copy the directory /extensions</b> from previous version before upgrading.</li>
</ul>
<br/>
- <%= button_to_remote "Upgrade",
- :url => { :action => 'setup_database' },
- :loading => "window.location.reload();" -%>
+ <input type="button"
+ value="Upgrade"
+ onclick="
+ $j.ajax({
+ url:'<%= url_for(:action => 'setup_database')-%>',
+ type:'post',
+ success:function(request){window.location.reload();}
+ });
+ return false;">
</div> \ No newline at end of file