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

b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/common.js
205 205
    $('[data-overlay-id]').click(function(e){
206 206
        e.preventDefault();
207 207
        var el = $(this);
208
        // main-actions a need to be active to trigger overlay
209
        if ( (el.parents('.main-actions').find('li a.active').length == 0) && (el.parents('.main-actions').length > 0) ) {
210
            return false;
211
        }
212 208
        var id = el.data('overlay-id');
213 209

  
214 210
        $('.overlay-area').fadeIn(100);
215 211
        $('body').addClass('with-overlay');
216 212
        $(id).fadeIn('slow');
217
        console.log(id);
218 213
        if (id=='#network-wizard') {
219 214
            $(id).find('input').first().focus();
220 215
            return false;

Also available in: Unified diff