Revision 0675f9af snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/common.js

b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/common.js
856 856
    // add a <span> element inside the content of each a.wrap-a element
857 857
    $('a.wrap-a').wrapInner('<span></span>');
858 858

  
859

  
860
    $('.side-actions .bottom .reassign').click(function(e){
861
        e.preventDefault();
862
        $(this).parents('.bottom').find('ul').hide();
863
        $(this).parents('.bottom').find('ul.options').show();
864
    });
865

  
866
    $('.side-actions ul.options').mouseleave(function(e){
867
        $(this).hide();
868
        $(this).siblings('ul').removeAttr('style');
869
    })
870

  
859 871
})
860 872

  
861 873

  

Also available in: Unified diff