Subversion Repositories DevTools

Rev

Rev 5061 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5061 Rev 5080
Line 29... Line 29...
29
    serverSide: true,
29
    serverSide: true,
30
    ajaxSource: "sdk_names_json.asp",
30
    ajaxSource: "sdk_names_json.asp",
31
    "ordering": false,
31
    "ordering": false,
32
    "columnDefs" : [ 
32
    "columnDefs" : [ 
33
        {"visible" : false, "targets" : [0]},
33
        {"visible" : false, "targets" : [0]},
34
<%If NOT canActionControl("CreateNewProject") Then %>
34
<%If NOT canActionControl("CreateSdk") Then %>
35
        {"visible" : false, "targets" : [3]},
35
        {"visible" : false, "targets" : [3]},
36
<%End If%>
36
<%End If%>
37
        ],
37
        ],
38
    });
38
    });
39
 
39
 
40
<%If canActionControl("CreateNewProject") Then %>
40
<%If canActionControl("CreateSdk") Then %>
41
//  Wire up an 'Add' button
41
//  Wire up an 'Add' button
42
$( '#addSdk' ).click(function() {
42
$( '#addSdk' ).click(function() {
43
    $('#popmenu').load('sdk_names_new.asp');
43
    $('#popmenu').load('sdk_names_new.asp');
44
    });
44
    });
45
<%End If%>
45
<%End If%>