diff options
author | stephenbroyer <stephen.broyer@sonarsource.com> | 2013-09-25 12:25:55 +0200 |
---|---|---|
committer | stephenbroyer <stephen.broyer@sonarsource.com> | 2013-09-25 12:36:48 +0200 |
commit | aaa877995329e7418e331b3696b7a4612876d619 (patch) | |
tree | a31bbec159f8bd61723d0df6cd1fa693266571f2 /sonar-server/src/main | |
parent | 3a2ff33395eaad9eb76ee8778ff891b5bac2eedc (diff) | |
download | sonarqube-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.erb | 12 |
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 |