Subversion Repositories DevTools

Rev

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

Rev 5053 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
'   Add a new version to the current sdk_id
7
'   Add a new version to the current sdk_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
$( "#fNewSdkVersion" ).dialog({
24
$( "#fNewSdkVersion" ).dialog({
11
    autoOpen: true,
25
    autoOpen: true,
12
    width: 350,
26
    width: 350,
13
    modal: true,
27
    modal: true,
14
    draggable: true,
28
    draggable: true,
15
    resizable: true,
29
    resizable: true,
16
    dialogClass: "rounded_box",
30
    dialogClass: "rounded_box",
17
        buttons: [
31
        buttons: [
-
 
32
<%If canActionControlInProject("CreateSdk") Then %>
18
            {
33
            {
19
            text  : 'Create',
34
            text  : 'Create',
20
            class : 'hideOnError',
35
            class : 'hideOnError',
21
            click : function(){
36
            click : function(){
22
                        clearInfo();
37
                        clearInfo();
23
                        $( "#fNewSdkVersion" ).submit();
38
                        $( "#fNewSdkVersion" ).submit();
24
                        },
39
                        },
25
            },
40
            },
-
 
41
<%End If%>
26
            {
42
            {
27
            text : 'Cancel',
43
            text : 'Cancel',
28
            click : function(){ 
44
            click : function(){ 
29
                        $( this ).dialog( "close" );
45
                        $( this ).dialog( "close" );
30
                        },
46
                        },