Revision bdf1d2fd

b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/common.js
200 200
        $('.overlay-area').fadeIn(100);
201 201
        $('body').addClass('with-overlay');
202 202
        $(id).fadeIn('slow');
203
        console.log(id);
204
        if (id=='#network-wizard') {
205
            $(id).find('input').first().focus();
206
            return false;
207
        }
203 208
        $(id).find('a').first().focus();
204 209
    });
205 210
}
b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/network-wizard.js
1 1
ui.wizard.network = {
2
         elemID: undefined,
3
            btns: {
4
                cancel: undefined,
5
                create: undefined,
6
                close: undefined,
7
                new_network: undefined
8
            },
9
        close: function(bottom_area, main_area, total_area) {
10
          $('body').removeClass('with-overlay');
2
    elemID: undefined,
3
    btns: {
4
        cancel: undefined,
5
        create: undefined,
6
        close: undefined,
7
        new_network: undefined
8
    },
9
    close: function(bottom_area, main_area, total_area) {
10
        $('body').removeClass('with-overlay');
11 11
        $('.overlay-area').fadeOut(400, function() {
12 12
            $('.overlay-div').hide();
13 13
        });
14
        }
14
    }
15 15
}
16 16

  
17 17

  
18

  
19 18
$(document).ready(function(){
20 19
    $('#network-wizard').find('a').click(function(e) {
21 20
        e.preventDefault();

Also available in: Unified diff