]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4611 Remove prototypejs from Quality profiles console (correction)
authorstephenbroyer <stephen.broyer@sonarsource.com>
Thu, 19 Sep 2013 15:18:03 +0000 (17:18 +0200)
committerstephenbroyer <stephen.broyer@sonarsource.com>
Thu, 19 Sep 2013 15:19:01 +0000 (17:19 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_param.html.erb

index 57660cf31802691b2b3c0626a0f1b01083ea1b15..660083f9e1cbb89a813b78dab490b2d8c497b891 100644 (file)
@@ -11,7 +11,7 @@
     <form onsubmit="$j.ajax({  url: '<%= ApplicationController.root_context -%>/rules_configuration/update_param/<%=active_param_id-%>?active_rule_id=<%=active_rule_id-%>&param_id=<%=parameter.id-%>&profile_id=<%=profile.id-%>',
                                type:'post',beforeSend: function(request){$j('#param_loading_<%=parameter.id-%>').show();$j('#error_<%=parameter.id-%>').hide();},
                                data: $j(this).serialize(),
-                               success: function(htmlSuccess){$j('#rule_<%=rule.id-%>').replaceWith(htmlSuccess);},
+                               success: function(response){$j('#rule_<%=rule.id-%>').html(response);},
                                complete: function(request){$j('#desc_<%=rule.id-%>').show();$j('#param_loading_<%=parameter.id-%>').hide();},
                                error: function(request){$j('#error_<%=parameter.id-%>').text(request.responseText);$j('#error_<%=parameter.id-%>').show();}
                             }); return false;"