Put the new_aspect class on the notification page aspect dropdown, so that the focus js is triggered

This commit is contained in:
Raphael Sofaer 2011-08-03 17:47:20 -07:00
parent a1dab2546d
commit f1040a237f

View file

@ -18,4 +18,4 @@
- if defined?(@aspect) && ( @aspect == :profile || @aspect == :tag || @aspect == :search || @aspect == :notification) - if defined?(@aspect) && ( @aspect == :profile || @aspect == :tag || @aspect == :search || @aspect == :notification)
%li.newItem %li.newItem
.add_aspect .add_aspect
= link_to t('contacts.index.add_a_new_aspect'), new_aspect_path(:person_id => person.id), :rel => 'facebox' = link_to t('contacts.index.add_a_new_aspect'), new_aspect_path(:person_id => person.id), :rel => 'facebox', :class => 'new_aspect'