onselect change
pull/19/head
Aidaho12 2018-06-05 15:18:54 +06:00
parent cba232ac34
commit aac1335506
2 changed files with 10 additions and 1 deletions

View File

@ -66,8 +66,14 @@
<script>
{% if onclick == 'showApacheLog()' %}
window.onload = showApacheLog()
$('#serv').on('selectmenuchange',function() {
showApacheLog();
});
{% else %}
window.onload = showLog()
$('#serv').on('selectmenuchange',function() {
showLog();
});
{% endif %}
</script>

View File

@ -42,7 +42,10 @@
});
return false;
});
}
}
$('#serv').on('selectmenuchange',function() {
showStats();
});
</script>
<link href="/inc/style.css" rel="stylesheet">
{% endblock %}