Skip to content

Commit

Permalink
Added hover bug fix to project features.
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed May 13, 2010
1 parent 96a75ce commit 8f892bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions app/views/projects/features.html.erb
@@ -1,3 +1,6 @@
<% content_for :js_head do %>
<%= javascript_include_tag "jquery-include.js" %>
<%end %>
<% content_for :css_head do %>
<%= stylesheet_link_tag 'features' %>
<% end %>
Expand Down
6 changes: 4 additions & 2 deletions app/views/projects/features.rjs.erb
@@ -1,2 +1,4 @@
$('#list').html("<%= escape_javascript(render :partial => '/common/sortable_list',:locals => {:models => @project_features, :item_name => 'feature', :assoc => 'story', :order =>true})%>");
$('div#lists ul').customSortable();
$('divlist').replaceWith("<%= escape_javascript(render :partial => '/common/sortable_list',:locals => {:models => @project_features, :item_name => 'feature', :assoc => 'story', :order =>true})%>");
$('div#lists ul').customSortable();
$('div#sidebar').html("<%= escape_javascript(render :partial => 'common/sidebar_list_content', :locals => {:models => @project_features, :assoc => 'stories'})%>");
$.include('/javascripts/item_hover.js');

0 comments on commit 8f892bb

Please sign in to comment.