Subversion Repositories DevTools

Rev

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

Rev 5097 Rev 5098
Line 35... Line 35...
35
//# sourceURL=_wform_reference_sdk.asp
35
//# sourceURL=_wform_reference_sdk.asp
36
$( "#refSdk" ).dialog({
36
$( "#refSdk" ).dialog({
37
    modal : true,
37
    modal : true,
38
    autoOpen : true,
38
    autoOpen : true,
39
    width : 450,
39
    width : 450,
40
    height : 280,
40
    height : 400,
41
    position: { my: "top", at: "top+100", of: window },
41
    position: { my: "top", at: "top+100", of: window },
42
    dialogClass: "rounded_box",
42
    dialogClass: "rounded_box",
43
    title : "Add SDK to Release",
43
    title : "Add SDK to Release",
44
    close: function( event, ui ) { $(this).dialog('destroy').remove();},
44
    close: function( event, ui ) { $(this).dialog('destroy').remove();},
45
    buttons: [
45
    buttons: [
Line 59... Line 59...
59
 
59
 
60
//  Initial population of the Ref SDK Names   
60
//  Initial population of the Ref SDK Names   
61
populateSdkNames();
61
populateSdkNames();
62
$("#sel_sdkname").change(function(){
62
$("#sel_sdkname").change(function(){
63
    populateSdkVersions( $("#sel_sdkname").val());
63
    populateSdkVersions( $("#sel_sdkname").val());
-
 
64
    getAjaxData (
-
 
65
        "sdk_opr_json.asp",
-
 
66
        { action: "getSdkDetails" , sdk_id : $('#sel_sdkname').val() },
-
 
67
        function(data){
-
 
68
            $("#sel_sdkname_descr").val(data.aaData.SDK_COMMENT);
-
 
69
            $("#sel_sdkversion_descr").val("");
-
 
70
        });    
-
 
71
});
-
 
72
 
-
 
73
$("#sel_sdkversion").change(function(){
-
 
74
    getAjaxData (
-
 
75
        "sdk_opr_json.asp",
-
 
76
        { action: "getSdkVersionDetails" , sdktag_id : $('#sel_sdkversion').val() },
-
 
77
        function(data){
-
 
78
            $("#sel_sdkversion_descr").val(data.aaData.DESCRIPTION);
-
 
79
        });    
64
});
80
});
65
 
81
 
-
 
82
 
66
// Form Validation processing
83
// Form Validation processing
67
//      Load in the required JavaScript support
84
//      Load in the required JavaScript support
68
$.getScript("jquery/form-validator/jquery.form-validator.min.js", registerValidation);
85
$.getScript("jquery/form-validator/jquery.form-validator.min.js", registerValidation);
69
 
86
 
70
function registerValidation()
87
function registerValidation()
Line 201... Line 218...
201
            <td width="1%" nowrap class="form_field">SDK</td>
218
            <td width="1%" nowrap class="form_field">SDK</td>
202
            <td nowrap width="100%">
219
            <td nowrap width="100%">
203
                <select id="sel_sdkname" class=form_item>
220
                <select id="sel_sdkname" class=form_item>
204
            </td>
221
            </td>
205
          </tr>
222
          </tr>
-
 
223
 
-
 
224
          <tr class="form_field_bg"> 
-
 
225
            <td width="1%" nowrap class="form_field"></td>
-
 
226
            <td width="100%">
-
 
227
                <textarea readonly style="width:100%" id="sel_sdkname_descr" class=form_item>
-
 
228
                </textarea> </td>
-
 
229
          </tr>
-
 
230
 
206
          <tr class="form_field_bg"> 
231
          <tr class="form_field_bg"> 
207
            <td width="1%" nowrap class="form_field">Version</td>
232
            <td width="1%" nowrap class="form_field">Version</td>
208
            <td nowrap width="100%"> 
233
            <td nowrap width="100%"> 
209
                <select id="sel_sdkversion" data-validation="required">
234
                <select id="sel_sdkversion" data-validation="required">
210
            </td>
235
            </td>
211
          </tr>
236
          </tr>
-
 
237
 
-
 
238
          <tr class="form_field_bg"> 
-
 
239
            <td width="1%" nowrap class="form_field"></td>
-
 
240
            <td width="100%">
-
 
241
                <textarea readonly style="width:100%" id="sel_sdkversion_descr" class=form_item>
-
 
242
                </textarea></td>
-
 
243
          </tr>
-
 
244
 
212
          <tr class="form_field_bg"> 
245
          <tr class="form_field_bg"> 
213
            <td width="1%" nowrap class="form_field">Mode</td>
246
            <td width="1%" nowrap class="form_field">Mode</td>
214
            <td nowrap width="100%"> 
247
            <td nowrap width="100%"> 
215
                <select id="sel_sdkdmode" data-validation="required">
248
                <select id="sel_sdkdmode" data-validation="required">
216
                    <option value="0">No Deletion</option>
249
                    <option value="0">No Deletion</option>