]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4517 move components pages to Jquery
authorstephenbroyer <stephen.broyer@sonarsource.com>
Mon, 2 Sep 2013 16:25:41 +0000 (18:25 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Wed, 11 Sep 2013 09:00:05 +0000 (11:00 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/components/_list_edit_mode_controls.rhtml

index ec6947bd3bf69757a1d72c18661bae8637347ed6..44b5b32756b620f7cb085d7d42d11b9c575377c8 100644 (file)
@@ -11,7 +11,7 @@
       <td>
         <form action="<%= url_for :controller => "columns", :action => "add" -%>" >
           <input type="hidden" name="rid" value="<%= @resource.id if @resource %>" />
-          <select name="id" onchange="$('add_column_loading').show();submit();" id="select_add_column">
+          <select name="id" onchange="$j('#add_column_loading').show();submit();" id="select_add_column">
             <option value=""></option>
             <% addeable_columns.keys.sort.each do |domain| %>
               <optgroup label="<%= domain %>">
@@ -31,7 +31,7 @@
       <td>
         <form action="<%= url_for :controller => "columns", :action => "default_sorting" -%>">
           <input type="hidden" name="rid" value="<%= @resource.id if @resource %>" />
-          <select name="id" onchange="$('sort_column_loading').show();submit();" id="select_default_sorting">
+          <select name="id" onchange="$j('#sort_column_loading').show();submit();" id="select_default_sorting">
                <option value="project" <%= 'selected' if components_configuration.sorted_by_project_name? -%>><%= message('project_name') -%></option>
             <% configured_columns.sort_by{|col| col.name}.each do |column| 
                 if column.sortable? %>