summaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/encryption_configuration/generate_secret_form.html.erb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb4
2 files changed, 3 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/encryption_configuration/generate_secret_form.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/encryption_configuration/generate_secret_form.html.erb
index f548a780938..9b4bb164c5d 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/encryption_configuration/generate_secret_form.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/encryption_configuration/generate_secret_form.html.erb
@@ -20,7 +20,7 @@
url:'<%=ApplicationController.root_context-%>/encryption_configuration/generate_secret',
type:'post',
success:function(response){$j('#secret_content').html(response);},
- error:function(response){ $j('#secret_error').html(response); $j('#secret_error').show();}
+ error:function(response){$j('#secret_error').html(response.responseText); $j('#secret_error').show();}
});
return false;">
</input>
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 137ed5df7c1..c71a2673924 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
@@ -23,7 +23,7 @@
},
error:function(response)
{
- $j('#encryption_error').html(response);
+ $j('#encryption_error').html(response.responseText);
$j('#encryption_error').show();
$j('#encrypted_section').hide();
},
@@ -39,7 +39,7 @@
<div id="encrypted_section" style="display:none"></div>
<span id="encryption_error" class="error" style="display:none"></span>
- <p>Note that the <%= link_to 'secret key can be changed', {:action => 'generate_secret_form'}, :class => 'link-action', :id => 'link-generate-key' %>
+ <p><br/>Note that the <%= link_to 'secret key can be changed', {:action => 'generate_secret_form'}, :class => 'link-action', :id => 'link-generate-key' %>
but all the encrypted properties will have to be updated. <a href="http://docs.codehaus.org/display/SONAR/Settings+Encryption" class="external" target="sonar_doc">More information</a>.</p>
</td>
</tr>