Revision 78553022

b/ui/templates/networks.html
768 768
        } // for adding servers to a network look in $("#add-server-add").live('click', function() {...});
769 769
    }
770 770
    $(this).parent().hide();
771
    $(this).closest("div.network").find('a.selected').removeClass('selected');
772
    $(this).closest("div.network").children('div.actions').removeClass('display');
771
    $(this).parent().parent().find('a.selected').removeClass('selected');
772
    $(this).parent().parent().children('div.actions').removeClass('display');
773 773
    update_network_confirmations();
774 774
    return false;
775 775
});
......
796 796
        }
797 797
    }
798 798
    $(this).parent().hide();
799
    $(this).closest("div.network").find('a.selected').removeClass('selected');
800
    $(this).closest("div.network").children('div.actions').removeClass('display');
799
    $(this).parent().parent().find('a.selected').removeClass('selected');
800
    $(this).parent().parent().children('div.actions').removeClass('display');
801 801
    update_network_confirmations();
802 802
    return false;
803 803
});

Also available in: Unified diff