]> source.dussan.org Git - redmine.git/commitdiff
Javascript fix (#1636).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 14 Jul 2008 15:46:02 +0000 (15:46 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 14 Jul 2008 15:46:02 +0000 (15:46 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1667 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_list.rhtml

index 000f798531118cbf9c43c782c7cd012268c702fe..b423578940b4d94a9c2f2774f0704eecb0a5d386 100644 (file)
@@ -1,7 +1,7 @@
 <% form_tag({}) do -%> 
 <table class="list issues">
     <thead><tr>
-        <th><%= link_to image_tag('toggle_check.png'), {}, :onclick => 'toggleIssuesSelection(this.up("form")); return false;',
+        <th><%= link_to image_tag('toggle_check.png'), {}, :onclick => 'toggleIssuesSelection(Element.up(this, "form")); return false;',
                                                            :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}" %>
         </th>
                <%= sort_header_tag("#{Issue.table_name}.id", :caption => '#', :default_order => 'desc') %>