diff options
author | stephenbroyer <stephen.broyer@sonarsource.com> | 2013-08-06 18:33:43 +0200 |
---|---|---|
committer | stephenbroyer <stephen.broyer@sonarsource.com> | 2013-08-09 16:20:28 +0200 |
commit | db58d55d4f1003359380545968216dcf2024e154 (patch) | |
tree | fb9e249fd65d48fa4d3358f45135bc0b0340e065 /sonar-server | |
parent | 02319785e69ba5d60d36f199ab80818ccc4f235d (diff) | |
download | sonarqube-db58d55d4f1003359380545968216dcf2024e154.tar.gz sonarqube-db58d55d4f1003359380545968216dcf2024e154.zip |
SONAR-4517 Move from prototypeJS/scriptaculous to jQuery
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule.html.erb | 4 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_note.html.erb | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule.html.erb index 8e483891158..d25dac950c9 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule.html.erb @@ -121,7 +121,3 @@ </div> </div> </td> - -<script type="text/javascript"> - Form.reset($('levels_<%= rule.id -%>')); -</script> diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_note.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_note.html.erb index 53bc74a3a70..1b2a7f5646e 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_note.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_note.html.erb @@ -23,7 +23,7 @@ <% if profiles_administrator? %> <div> <a href="#" id="<%= note_extend_link_id -%>" class="link-action spacer-right" - onclick="$('<%= note_detail_div_id -%>').hide();$('<%= note_form_div_id -%>').show();$('<%= note_textarea_id -%>').focus();return false;"><%= message('rules_configuration.extend_description') %></a> + onclick="$j('#<%= note_detail_div_id -%>').hide();$j('#<%= note_form_div_id -%>').show();$j('#<%= note_textarea_id -%>').focus();return false;"><%= message('rules_configuration.extend_description') %></a> </div> <% end %> </div> @@ -45,7 +45,7 @@ <tr> <td> <input type="submit" value="<%= message('rules_configuration.extend_description') -%>" name="commit" id="<%= submit_note_update_button_id -%>"/> - <a href="#" onclick="$('<%= note_detail_div_id -%>').show();$('<%= note_form_div_id -%>').hide();return false;"><%= message('cancel') %></a> + <a href="#" onclick="$j('#<%= note_detail_div_id -%>').show();$j('#<%= note_form_div_id -%>').hide();return false;"><%= message('cancel') %></a> </td> <td align="right"> <%= render :partial => 'markdown/tips' -%> |