Revision d73d1554

b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/common.js
157 157
        el.find('input[type="text"]').hide();
158 158
        el.find('a.cancel, a.save').hide();
159 159
        el.find('a.edit, .input-txt').show();
160
        el.find('.delete').show();
161 160
    }
162 161

  
163 162
/* 
......
173 172
        el.find('a.cancel, a.save').show();
174 173
        elem.hide();
175 174
        el.find('.input-txt').hide();
176
        if(el.find('.delete').length != 0) {
177
            el.find('.delete').hide();
178
        }
179

  
180 175
    }
181 176

  
182 177
/*
......
688 683
    // end of connected details js
689 684

  
690 685
    ui.replaceClass($('a.current, a.active'), 'outline', 'full');
686

  
687
    $('.delete').click(function(e) {
688
        e.preventDefault();
689
        $(this).closest('div').fadeOut('slow');
690
    })
691 691
})
692 692

  
693 693

  

Also available in: Unified diff