Fix manages_aspects feature

This commit is contained in:
Raphael Sofaer 2011-07-06 18:32:46 -07:00
parent f3d185fe41
commit 03df3e3e59
2 changed files with 0 additions and 3 deletions

View file

@ -2,8 +2,6 @@
// licensed under the Affero General Public License version 3 or later. See
// the COPYRIGHT file.
ContactEdit.updateNumber("<%= @contact.person_id%>");
var element = $(".add[data-aspect_id=<%= @aspect.id %>][data-person_id=<%= @contact.person_id%>]");
if( $("#no_contacts").is(':visible') ) {

View file

@ -2,7 +2,6 @@
// licensed under the Affero General Public License version 3 or later. See
// the COPYRIGHT file.
ContactEdit.updateNumber("<%= @contact.person_id%>");
var element = $(".added[data-aspect_id=<%= @aspect.id %>][data-person_id=<%= @contact.person_id%>]");
element.parent().html("<%= escape_javascript(render('aspect_memberships/remove_from_aspect', :aspect => @aspect, :person => @contact.person, :contact => @contact)) %>");
element.fadeTo(200,1);