Revision 781:62a8d632451c
| vendor/plugins/redmine_tags/app/views/projects/index.rhtml | ||
|---|---|---|
| 17 | 17 |
<% end %> |
| 18 | 18 |
|
| 19 | 19 |
<div style="clear:both;"></div> |
| 20 |
<% form_remote_tag(:controller => :projects, :action => :index, :method => :get, :id => :project_filtering) do %>
|
|
| 20 |
<% form_remote_tag(:controller => :projects, :action => :index, :method => :get, :html => {:id => :project_filtering_form}) do %>
|
|
| 21 | 21 |
|
| 22 | 22 |
<% if @filter_status=="true" %> |
| 23 | 23 |
<fieldset id="filters_fieldset" class="collapsible"> |
| ... | ... | |
| 37 | 37 |
<%= render :partial => 'filter_search_tags' %> |
| 38 | 38 |
</div> |
| 39 | 39 |
|
| 40 |
<p class='buttons'><%= submit_tag( l('button_filter'), :id => 'filter_button') -%></p>
|
|
| 40 |
<p style="display: none;"><%= submit_tag( l('button_filter'), :id => 'submitButton') -%></p>
|
|
| 41 |
<%= link_to l(:button_apply), {}, :onclick => "$('submitButton').click(); return false;", :class => 'icon icon-checked' %>
|
|
| 42 |
<%= link_to l(:button_clear), {}, :class => 'icon icon-reload' %>
|
|
| 41 | 43 |
</div> |
| 42 | 44 |
</fieldset> |
| 43 | 45 |
<% end %> |
| vendor/plugins/redmine_tags/assets/javascripts/projects_index.js | ||
|---|---|---|
| 1 |
Event.observe(window, 'load', function() {
|
|
| 2 |
|
|
| 3 |
}); |
|
| 1 |
// Event.observe(window, 'load', function() {
|
|
| 2 |
// }); |
|
| 4 | 3 |
|
| 5 | 4 |
|
| 6 | 5 |
function toggleFieldsetWithState(this_field){
|
| ... | ... | |
| 19 | 18 |
parameters: {field_id: id, status: nstatus},
|
| 20 | 19 |
asynchronous: true |
| 21 | 20 |
}); |
| 22 |
} |
|
| 21 |
} |
|
Also available in: Unified diff