blob: 007e1e1bab4fc062ca17b909b64ba8dff5831611 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<div id="systemlist">
<div class="panel panel-default">{{lang_listObtained}}</div>
<!-- OLD CODE ??
<script type="text/javascript">
var slx_check = setInterval(function() {
if (typeof $ === 'undefined') return;
clearInterval(slx_check);
$('#systemlist').load('{{{listurl}}}', function( response, status, xhr ) {
if ( status === "error" ) {
var msg = "{{lang_errorGetting}}";
$( "#systemlist" ).html( msg + xhr.status + " " + xhr.statusText );
}
})
}, 100);
</script>
OLD CODE ?? -->
</div>
<script type="text/javascript"><!--
function loadSystemList(version) {
$('#systemlist').load('{{{listurl}}}', { token: TOKEN, version: version }, function( response, status, xhr ) {
if ( status === "error" ) {
var msg = "{{lang_errorGetting}}";
$( "#systemlist" ).html( msg + xhr.status + " " + xhr.statusText );
}
});
}
// --></script>
|