use cookie over path for namespace
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
<script>
|
||||
function setNamespace() {
|
||||
document.getElementById("namespace").disabled = true
|
||||
window.location.href = `${window.location.protocol}`+"//"+`${window.location.host}/ui/files/${document.getElementById("namespace").value}`
|
||||
document.cookie = "namespace=" + document.getElementById("namespace").value
|
||||
window.location.href = `${window.location.protocol}`+"//"+`${window.location.host}/ui/files`
|
||||
}
|
||||
</script>
|
||||
{{ if .This.Namespaces }}
|
||||
|
||||
Reference in New Issue
Block a user