add ntop.getStaticFileEpoch() to all js files (#4965)

This commit is contained in:
gabryon99 2021-01-27 09:30:13 +01:00
parent 8251892d6d
commit e9062d7a73
19 changed files with 30 additions and 144 deletions

View file

@ -1151,7 +1151,7 @@ print[[
]]
print [[
<script type="text/javascript" src="]] print(ntop.getHttpPrefix()) print [[/js/jquery.tablesorter.js"></script>
<script type="text/javascript" src="]] print(ntop.getHttpPrefix()) print [[/js/jquery.tablesorter.js?]] print(ntop.getStaticFileEpoch()) print[["></script>
<script type='text/javascript'>
window.onload=function() {]]
@ -2456,7 +2456,7 @@ print [[
]]
print [[
<script type="text/javascript" src="]] print(ntop.getHttpPrefix()) print [[/js/jquery.tablesorter.js"></script>
<script type="text/javascript" src="]] print(ntop.getHttpPrefix()) print [[/js/jquery.tablesorter.js?]] print(ntop.getStaticFileEpoch()) print[["></script>
<script>
$(document).ready(function()
{