Subversion Repositories DevTools

Rev

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

Rev 5102 Rev 5103
Line 110... Line 110...
110
                var locationData = $.deserialize(hash);
110
                var locationData = $.deserialize(hash);
111
                load_page_body(locationData.url, locationData );
111
                load_page_body(locationData.url, locationData );
112
            }
112
            }
113
 
113
 
114
 
114
 
115
            //  Centralise the loading of the body of the page
-
 
116
            //
-
 
117
            function load_page_body(url, data) {
-
 
118
                //  Persist these values, but don't add to the stored URL
-
 
119
                var persist = {
-
 
120
                    rtag_id : <%=DB_RTAG_ID%>,
-
 
121
                    proj_id : <%=DB_PROJ_ID%>,
-
 
122
                    pv_id : <%=DB_PV_ID%>,
-
 
123
                };
-
 
124
                $('#sdk_version').off();
-
 
125
                $('#sdk_version').empty();
-
 
126
                $('#sdk_version').load(url, $.extend({}, data, persist));
-
 
127
 
-
 
128
                //  Reflect the current page load in the URL
-
 
129
                //      Shows what we are doing
-
 
130
                //      Allows page reload to
-
 
131
                
-
 
132
                var newdata = {};
-
 
133
                newdata['url'] = url;
-
 
134
                if ( typeof(data) !== 'undefined' ){
-
 
135
                    for (var key in data) {
-
 
136
                        newdata[key] = (data[key]);
-
 
137
                    }
-
 
138
                }
-
 
139
                window.location.hash = jQuery.param(newdata);
-
 
140
            }
-
 
141
 
115
 
142
            // Process click on the table row
116
            // Process click on the table row
143
            // Display versions available for this SDK
117
            // Display versions available for this SDK
144
            //      this - a DOM node
118
            //      this - a DOM node
145
            //      $(this) - The jquery wrapped node
119
            //      $(this) - The jquery wrapped node
Line 167... Line 141...
167
        $(document).on("newPageBody", function(e, args){
141
        $(document).on("newPageBody", function(e, args){
168
            load_page_body(args.url, args.data);
142
            load_page_body(args.url, args.data);
169
 
143
 
170
            });
144
            });
171
        });
145
        });
-
 
146
 
-
 
147
//  Centralise the loading of the body of the page
-
 
148
//
-
 
149
function load_page_body(url, data) {
-
 
150
    //  Persist these values, but don't add to the stored URL
-
 
151
    var persist = {
-
 
152
        rtag_id : <%=DB_RTAG_ID%>,
-
 
153
        proj_id : <%=DB_PROJ_ID%>,
-
 
154
        pv_id : <%=DB_PV_ID%>,
-
 
155
    };
-
 
156
    $('#sdk_version').off();
-
 
157
    $('#sdk_version').empty();
-
 
158
    $('#sdk_version').load(url, $.extend({}, data, persist));
-
 
159
 
-
 
160
    //  Reflect the current page load in the URL
-
 
161
    //      Shows what we are doing
-
 
162
    //      Allows page reload to
-
 
163
    
-
 
164
    var newdata = {};
-
 
165
    newdata['url'] = url;
-
 
166
    if ( typeof(data) !== 'undefined' ){
-
 
167
        for (var key in data) {
-
 
168
            newdata[key] = (data[key]);
-
 
169
        }
-
 
170
    }
-
 
171
    window.location.hash = jQuery.param(newdata);
-
 
172
}
172
        </script>
173
        </script>
173
      <!-- DROPDOWN MENUS -->
174
      <!-- DROPDOWN MENUS -->
174
   </head>
175
   </head>
175
   <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
176
   <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
176
 
177
 
Line 189... Line 190...
189
            <td valign="top" class=side_panel style="position:relative;height:100%;width:10%">
190
            <td valign="top" class=side_panel style="position:relative;height:100%;width:10%">
190
                <!-- Side panel -->
191
                <!-- Side panel -->
191
               <table id=sdk_names class="full_table side_panel_table">
192
               <table id=sdk_names class="full_table side_panel_table">
192
                <thead>
193
                <thead>
193
                    <tr class="body_col form_align">
194
                    <tr class="body_col form_align">
194
                        <th>SDK Names
195
                        <th onclick="load_page_body('sdk_names_body.asp');">SDK Names
195
                </thead>
196
                </thead>
196
               </table>
197
               </table>
197
 
198
 
198
            <!-- Side panel Bottom-->
199
            <!-- Side panel Bottom-->
199
<%If canActionControl("AdminSdk") Then %>
200
<%If canActionControl("AdminSdk") Then %>