web/admin/inc/wizard.js   A
last analyzed

Complexity

Total Complexity 3
Complexity/F 1

Size

Lines of Code 10
Function Count 3

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 6
dl 0
loc 10
rs 10
c 0
b 0
f 0
mnd 0
bc 0
fnc 3
bpm 0
cpm 1
noi 0
1
/*
2
 * *****************************************************************************
3
 * Contributions to this work were made on behalf of the GÉANT project, a 
4
 * project that has received funding from the European Union’s Framework 
5
 * Programme 7 under Grant Agreements No. 238875 (GN3) and No. 605243 (GN3plus),
6
 * Horizon 2020 research and innovation programme under Grant Agreements No. 
7
 * 691567 (GN4-1) and No. 731122 (GN4-2).
8
 * On behalf of the aforementioned projects, GEANT Association is the sole owner
9
 * of the copyright in all material which was developed by a member of the GÉANT
10
 * project. GÉANT Vereniging (Association) is registered with the Chamber of 
11
 * Commerce in Amsterdam with registration number 40535155 and operates in the 
12
 * UK as a branch of GÉANT Vereniging.
13
 * 
14
 * Registered office: Hoekenrode 3, 1102BR Amsterdam, The Netherlands. 
15
 * UK branch address: City House, 126-130 Hills Road, Cambridge CB2 1PQ, UK
16
 *
17
 * License: see the web/copyright.inc.php file in the file structure or
18
 *          <base_url>/copyright.php after deploying the software
19
 */
20
$(function () {
21
    $("img.wizard_icon").on("click", function() {
22
        $("#wizard_menu_close").next().html($(this).next().html());
23
        $("#wizard_help_window").show();
24
    });
25
    
26
    $("#wizard_menu_close").on("click", function() {
27
        $("#wizard_help_window").hide();
28
    });
29
});
30