From f1040a237f2e9014788ea335b1bfeb5597f87692 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Wed, 3 Aug 2011 17:47:20 -0700 Subject: [PATCH] Put the new_aspect class on the notification page aspect dropdown, so that the focus js is triggered --- app/views/aspect_memberships/_aspect_dropdown.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/aspect_memberships/_aspect_dropdown.html.haml b/app/views/aspect_memberships/_aspect_dropdown.html.haml index 1b4b56b91..e72d2f172 100644 --- a/app/views/aspect_memberships/_aspect_dropdown.html.haml +++ b/app/views/aspect_memberships/_aspect_dropdown.html.haml @@ -18,4 +18,4 @@ - if defined?(@aspect) && ( @aspect == :profile || @aspect == :tag || @aspect == :search || @aspect == :notification) %li.newItem .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'