Mercurial > hg > soundsoftware-site
changeset 781:62a8d632451c feature_14
Fixes Bug #331.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Fri, 18 Nov 2011 14:24:31 +0000 |
parents | 06a9d1cf5e15 |
children | eb3e9e1ffc13 |
files | vendor/plugins/redmine_tags/app/views/projects/index.rhtml vendor/plugins/redmine_tags/assets/javascripts/projects_index.js |
diffstat | 2 files changed, 7 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/vendor/plugins/redmine_tags/app/views/projects/index.rhtml Thu Nov 17 23:34:18 2011 +0000 +++ b/vendor/plugins/redmine_tags/app/views/projects/index.rhtml Fri Nov 18 14:24:31 2011 +0000 @@ -17,7 +17,7 @@ <% end %> <div style="clear:both;"></div> -<% form_remote_tag(:controller => :projects, :action => :index, :method => :get, :id => :project_filtering) do %> +<% form_remote_tag(:controller => :projects, :action => :index, :method => :get, :html => {:id => :project_filtering_form}) do %> <% if @filter_status=="true" %> <fieldset id="filters_fieldset" class="collapsible"> @@ -37,7 +37,9 @@ <%= render :partial => 'filter_search_tags' %> </div> - <p class='buttons'><%= submit_tag( l('button_filter'), :id => 'filter_button') -%></p> + <p style="display: none;"><%= submit_tag( l('button_filter'), :id => 'submitButton') -%></p> + <%= link_to l(:button_apply), {}, :onclick => "$('submitButton').click(); return false;", :class => 'icon icon-checked' %> + <%= link_to l(:button_clear), {}, :class => 'icon icon-reload' %> </div> </fieldset> <% end %>
--- a/vendor/plugins/redmine_tags/assets/javascripts/projects_index.js Thu Nov 17 23:34:18 2011 +0000 +++ b/vendor/plugins/redmine_tags/assets/javascripts/projects_index.js Fri Nov 18 14:24:31 2011 +0000 @@ -1,6 +1,5 @@ -Event.observe(window, 'load', function() { - -}); +// Event.observe(window, 'load', function() { +// }); function toggleFieldsetWithState(this_field){ @@ -19,4 +18,4 @@ parameters: {field_id: id, status: nstatus}, asynchronous: true }); -} \ No newline at end of file +}