From 4974cad5a70e5cca6a8d136720feb9f89f8dc2ad Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Wed, 4 Jul 2012 11:43:36 +0200 Subject: [PATCH] SONAR-1608 Fix issue on Chrome --- .../webapp/WEB-INF/app/views/project/_key_modules.html.erb | 5 ++--- 1 file 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) -%> - <% 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 -%> <%= 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) %> <%= message('update_key.reset') -%> <% end %> -- 2.39.5