From 9f81f51592667710d8f8d6d3fc0d83731c77c9c2 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 20 Mar 2012 15:21:44 +0100 Subject: [PATCH] SONAR-2084 focus on the clear text input when loading the administration console --- .../views/encryption_configuration/index.html.erb | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb index 636f0664385..b5d6c4fad04 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb @@ -1,14 +1,17 @@

Secret key is registered. You can encrypt any property value with the following form :

<%= form_remote_tag :url => {:action => 'encrypt'}, - :update => {:success => 'encryption_result', :failure => 'encryption_error'}, - :success => "$('encryption_result').show()", + :update => {:success => 'encrypted_text', :failure => 'encryption_error'}, + :success => "$('encrypted_text').show()", :failure => "$('encryption_error').show()", :html => {:class => 'spacer-bottom'} -%> - + - +

Note that the <%= link_to 'secret key can be changed', {:action => 'generate_secret_form'}, :class => 'link-action' -%> - but all the encrypted properties will have to be updated.

\ No newline at end of file + but all the encrypted properties will have to be updated.

+ \ No newline at end of file -- 2.39.5