Subversion Repositories DevTools

Rev

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

Rev 5098 Rev 5102
Line 26... Line 26...
26
    scrollCollapse: true,
26
    scrollCollapse: true,
27
    processing: true,
27
    processing: true,
28
    retrieve:true,
28
    retrieve:true,
29
    serverSide: true,
29
    serverSide: true,
30
    ajaxSource: "sdk_names_json.asp",
30
    ajaxSource: "sdk_names_json.asp",
31
    "ordering": false,
31
    ordering: true,
-
 
32
    order: [[ 1, "asc" ]],
32
    "columnDefs" : [ 
33
     columns: [
33
        {"visible" : false, "targets" : [0]},
34
        { visible : false },
-
 
35
        { className: "dt-nowrap" },
-
 
36
        null,
-
 
37
        { className: "dt-nowrap" },
-
 
38
        { className: "dt-nowrap" },
-
 
39
        { "orderable" : false , 
34
<%If NOT canActionControl("AdminSdk") Then %>
40
<%If NOT canActionControl("AdminSdk") Then %>
35
        {"visible" : false, "targets" : [4]},
41
            visible : false
36
<%End If%>
42
<%End If%>
37
        ],
43
        },
38
    });
44
    ],
-
 
45
});
39
 
46
 
40
<%If canActionControl("AdminSdk") Then %>
47
<%If canActionControl("AdminSdk") Then %>
41
//  Wire up an 'Add' button
48
//  Wire up an 'Add' button
42
$( '#addSdk' ).click(function() {
49
$( '#addSdk' ).click(function() {
43
    $('#popmenu').load('sdk_names_new.asp');
50
    $('#popmenu').load('sdk_names_new.asp');
Line 76... Line 83...
76
            <thead>
83
            <thead>
77
            <tr class="body_col form_align">
84
            <tr class="body_col form_align">
78
              <th width="1%"> SDK ID
85
              <th width="1%"> SDK ID
79
              <th width="10%"> SDK Name
86
              <th width="10%"> SDK Name
80
              <th> SDK Comment
87
              <th> SDK Comment
-
 
88
              <th width="10%"> Project
81
              <th width="10%"> Base View
89
              <th width="10%"> Base View
82
              <th width="1%"> Edit
90
              <th width="1%"> Edit
83
            </thead>
91
            </thead>
84
        </table>
92
        </table>
85
        <div class=bg_dialog>&nbsp;
93
        <div class=bg_dialog>&nbsp;