aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server/src/main')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/rules/_show_modal.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules/_show_modal.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules/_show_modal.html.erb
index 43cd943c19b..f86cba607ad 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules/_show_modal.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules/_show_modal.html.erb
@@ -36,12 +36,12 @@
<% end %>
<div class="modal-foot">
- <input type="button" value="<%= h message('close') -%>" onclick="return closeModalWindow()">
+ <input type="button" value="<%= h message('close') -%>" onclick="return closeModalWindow()" autofocus="autofocus">
</div>
<script type="text/javascript">
$j(document).ready(function () {
// As links in rule description will be loaded after open-modal has been processed by jquery, we have to process manually rule-modal classes
- $j('.rule_detail .rule-modal').modal()
+ $j('.rule_detail .rule-modal').modal();
});
</script>