forked from I2P_Developers/i2p.i2p
16 lines
595 B
Plaintext
16 lines
595 B
Plaintext
<%
|
|
if (!intl.getDisableRefresh()) {
|
|
%><script src="/js/ajax.js?<%=net.i2p.CoreVersion.VERSION%>" type="text/javascript"></script>
|
|
<script nonce="<%=cspNonce%>" type="text/javascript">
|
|
/* @license http://creativecommons.org/publicdomain/zero/1.0/legalcode CC0-1.0 */
|
|
|
|
var failMessage = "<hr><b><%=intl._t("Router is down")%><\/b>";
|
|
function requestAjax1() { ajax("/xhr1.jsp?requestURI=<%=request.getRequestURI()%>", "xhr", <%=intl.getRefresh()%>000); }
|
|
function initAjax() { setTimeout(requestAjax1, <%=intl.getRefresh()%>000); }
|
|
initAjax();
|
|
|
|
/* @license-end */
|
|
</script><%
|
|
}
|
|
%>
|