aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2012-07-04 11:43:36 +0200
committerFabrice Bellingard <bellingard@gmail.com>2012-07-04 16:03:00 +0200
commit4974cad5a70e5cca6a8d136720feb9f89f8dc2ad (patch)
treec143abf45c755a9320de14c267a29cb81f1d06ff /sonar-server
parentaf3aaeb7c44f54df973d9922c795386b2a4feb17 (diff)
downloadsonarqube-4974cad5a70e5cca6a8d136720feb9f89f8dc2ad.tar.gz
sonarqube-4974cad5a70e5cca6a8d136720feb9f89f8dc2ad.zip
SONAR-1608 Fix issue on Chrome
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/project/_key_modules.html.erb5
1 files changed, 2 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/project/_key_modules.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/project/_key_modules.html.erb
index 59065112d11..cbd8bb3009a 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/project/_key_modules.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/project/_key_modules.html.erb
@@ -3,11 +3,10 @@
<%= h(current_module.key) -%>
</td>
<td class="thin nowrap">
- <% form_tag( {:action => 'update_key', :id => current_module.id }) do -%>
+ <% form_tag( {:action => 'update_key', :id => current_module.id }, :onsubmit => "update_launched();$('loading_#{id_prefix}').show();") do -%>
<input type="text" value="<%= h(current_module.key) -%>" name="new_key" id="key_<%= id_prefix -%>" size="40">
<%= submit_tag message('update_key.rename'), :id => 'update_key_' + id_prefix, :class => 'action',
- :onclick => "update_launched();$('loading_#{id_prefix}').show();",
- :confirm => message('update_key.are_you_sure_to_rename_x', :params => current_module.key) %>
+ :confirm => message('update_key.are_you_sure_to_rename_x', :params => current_module.key) %>
<a href="#" onclick="$('key_<%= id_prefix -%>').value='<%= h(current_module.key) -%>';"><%= message('update_key.reset') -%></a>
<span class="loading" id="loading_<%= id_prefix -%>" style="display: none; padding: 3px 10px;"></span>
<% end %>