blob: 007e1e1bab4fc062ca17b909b64ba8dff5831611 (
plain) (
tree)
|
|
<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>
|