]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4517 clean tabulation indentation on DashBoard pages for a Jquery request
authorstephenbroyer <stephen.broyer@sonarsource.com>
Mon, 2 Sep 2013 08:16:01 +0000 (10:16 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Wed, 11 Sep 2013 08:59:30 +0000 (10:59 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_param.html.erb

index 07c36f1a828fae3ff577c417a3d6a709be5e9ace..57660cf31802691b2b3c0626a0f1b01083ea1b15 100644 (file)
@@ -9,11 +9,11 @@
 
 <td class="form-val-cell">
     <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);},
-                                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();}
+                               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);},
+                               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;"
            name="form-<%=u parameter.name-%>" method="post"
            action="<%= ApplicationController.root_context -%>/rules_configuration/update_param/<%=active_param_id-%>?active_rule_id=<%=active_rule_id-%>&param_id=<%=parameter.id-%>&profile_id=<%=profile.id-%>">