diff options
author | stephenbroyer <stephen.broyer@sonarsource.com> | 2013-08-09 17:07:31 +0200 |
---|---|---|
committer | stephenbroyer <stephen.broyer@sonarsource.com> | 2013-08-09 17:09:46 +0200 |
commit | 30c3ccb18652f9bc5bb5108a2a80a07199cc9008 (patch) | |
tree | 0c103b19643fcdbe0f7a3a5b60c6ed88abb8502a /sonar-server | |
parent | c1e5a1dd9e5f133bba6eb7a129d1780fe3b4ba7d (diff) | |
download | sonarqube-30c3ccb18652f9bc5bb5108a2a80a07199cc9008.tar.gz sonarqube-30c3ccb18652f9bc5bb5108a2a80a07199cc9008.zip |
SONAR-4517 move Quality Profiles pages to Jquery
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/configure.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/configure.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/configure.html.erb index 3b6aeb0f3e0..310216edab0 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/configure.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/configure.html.erb @@ -67,13 +67,13 @@ portal.highlightWidget(<%= params[:highlight] -%>); <% end %> } - Event.observe(window, 'load', init_dashboard, false); + $j(document).ready(function(){init_dashboard();}); function filterWidgetsByCategory(category) { $j('#filter-widgets-loading').show(); $j.ajax ({ url: '<%= add_category_to_url(url_for dashboard_action(:widget_definitions)) -%>' + encodeURIComponent(category), success: function(responseHTML){$j('#widget_defs').html(responseHTML);}, - error:function(error){alert('error');}, + error:function(error){alert('error');} }); return false; } |