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