Subversion Repositories DevTools

Rev

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

Rev 5055 Rev 5089
Line 4... Line 4...
4
'   This file is designed to be injected (loaded) into a 'div' on a window
4
'   This file is designed to be injected (loaded) into a 'div' on a window
5
'   It is a pop up dialog
5
'   It is a pop up dialog
6
'
6
'
7
'   Edit the Version Metadata for  sdktag_id
7
'   Edit the Version Metadata for  sdktag_id
8
%>
8
%>
-
 
9
<%
-
 
10
Option explicit
-
 
11
' Good idea to set when using redirect
-
 
12
Response.Expires = 0   ' always load the page, dont store
-
 
13
%>
-
 
14
<!--#include file="common/conf.asp"-->
-
 
15
<!--#include file="common/globals.asp"-->
-
 
16
<!--#include file="common/formating.asp"-->
-
 
17
<!--#include file="common/qstr.asp"-->
-
 
18
<!--#include file="common/common_subs.asp"-->
-
 
19
<%
-
 
20
'------------ ACCESS CONTROL ------------------
-
 
21
%>
-
 
22
<!--#include file="_access_control_general.asp"-->
9
<script>
23
<script>
10
//# sourceURL=sdk_version_edit.asp
24
//# sourceURL=sdk_version_edit.asp
11
$( "#fEditSdkVersion" ).dialog({
25
$( "#fEditSdkVersion" ).dialog({
12
    autoOpen: true,
26
    autoOpen: true,
13
    width: 350,
27
    width: 350,
14
    modal: true,
28
    modal: true,
15
    draggable: true,
29
    draggable: true,
16
    resizable: true,
30
    resizable: true,
17
    dialogClass: "rounded_box",
31
    dialogClass: "rounded_box",
18
        buttons: [
32
        buttons: [
-
 
33
<%If canActionControl("AdminSdk") Then %>
19
            {
34
            {
20
            text  : 'Update',
35
            text  : 'Update',
21
            class : 'hideOnError',
36
            class : 'hideOnError',
22
            click : function(){
37
            click : function(){
23
                        clearInfo();
38
                        clearInfo();
24
                        $( "#fEditSdkVersion" ).submit();
39
                        $( "#fEditSdkVersion" ).submit();
25
                        },
40
                        },
26
            },
41
            },
-
 
42
<%End If%>
27
            {
43
            {
28
            text : 'Cancel',
44
            text : 'Cancel',
29
            click : function(){ 
45
            click : function(){ 
30
                        $( this ).dialog( "close" );
46
                        $( this ).dialog( "close" );
31
                        },
47
                        },