setting applicationName client side
parent
351bc87b24
commit
70f76e2a46
|
@ -249,7 +249,7 @@ function downloadMonitorConfigurationsToDisk(monitorIds){
|
||||||
$('#temp').html('<a></a>')
|
$('#temp').html('<a></a>')
|
||||||
.find('a')
|
.find('a')
|
||||||
.attr('href',dataStr)
|
.attr('href',dataStr)
|
||||||
.attr('download',`Shinobi_Monitors_${$user.ke}_${new Date()}.json`)
|
.attr('download',`${applicationName}_Monitors_${$user.ke}_${new Date()}.json`)
|
||||||
[0].click()
|
[0].click()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -79,6 +79,7 @@
|
||||||
</style>
|
</style>
|
||||||
<script src="<%-window.libURL%>libs/js/jquery.min.js"></script>
|
<script src="<%-window.libURL%>libs/js/jquery.min.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
<script>applicationName = <%- lang.Shinobi %></script>
|
||||||
<script>$user = <%- JSON.stringify($user) %></script>
|
<script>$user = <%- JSON.stringify($user) %></script>
|
||||||
<script>lang = <%- JSON.stringify(lang) %></script>
|
<script>lang = <%- JSON.stringify(lang) %></script>
|
||||||
<script>definitions = <%- JSON.stringify(define) %></script>
|
<script>definitions = <%- JSON.stringify(define) %></script>
|
||||||
|
|
Loading…
Reference in New Issue